[Rod Johnson] 从JDBC的异常中获取信息

1. sqlException.getErrorCode()

2. sqlException.getSQLState()

3. sqlException.getNextException()

4. Remember to retrieve sqlWarnings from ResultSet/Statement/Conenciton

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.