类 SqlExceptionHelper


  • public class SqlExceptionHelper
    extends Object
    Helper for handling SQLExceptions in various manners.
    作者:
    Steve Ebersole
    • 构造器详细资料

      • SqlExceptionHelper

        public SqlExceptionHelper​(boolean logWarnings)
        Create an exception helper with a default exception converter.
      • SqlExceptionHelper

        public SqlExceptionHelper​(SQLExceptionConverter sqlExceptionConverter,
                                  boolean logWarnings)
        Create an exception helper with a specific exception converter.
        参数:
        sqlExceptionConverter - The exception converter to use.