Package org.hibernate.exception.internal

Examples of org.hibernate.exception.internal.StandardSQLExceptionConverter


        typeInfoSet
    );

    SQLExceptionConverter sqlExceptionConverter = dialect.buildSQLExceptionConverter();
    if ( sqlExceptionConverter == null ) {
      final StandardSQLExceptionConverter converter = new StandardSQLExceptionConverter();
      sqlExceptionConverter = converter;
      converter.addDelegate( dialect.buildSQLExceptionConversionDelegate() );
      converter.addDelegate( new SQLExceptionTypeDelegate( dialect ) );
      // todo : vary this based on extractedMetaDataSupport.getSqlStateType()
      converter.addDelegate( new SQLStateConversionDelegate( dialect ) );
    }
    this.sqlExceptionHelper = new SqlExceptionHelper( sqlExceptionConverter );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.exception.internal.StandardSQLExceptionConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.