Class BasicSQLExceptionConverter

java.lang.Object
org.hibernate.engine.jdbc.dialect.spi.BasicSQLExceptionConverter

public class BasicSQLExceptionConverter extends Object
A helper to centralize conversion of SQLExceptions to JDBCExceptions.

Used while querying JDBC metadata during bootstrapping

  • Field Details

  • Constructor Details

    • BasicSQLExceptionConverter

      public BasicSQLExceptionConverter()
  • Method Details

    • convert

      public JDBCException convert(SQLException sqlException)
      Perform a conversion.
      Parameters:
      sqlException - The exception to convert.
      Returns:
      The converted exception.