[Rod Johnson] 从JDBC的异常中获取信息 Leave a Comment / Java / June 11, 2009 June 11, 2009 1. sqlException.getErrorCode() 2. sqlException.getSQLState() 3. sqlException.getNextException() 4. Remember to retrieve sqlWarnings from ResultSet/Statement/Conenciton