public class

BasicSQLExceptionConverter

extends Object
java.lang.Object
   ↳ org.hibernate.dialect.resolver.BasicSQLExceptionConverter

Class Overview

A helper to centralize conversion of java.sql.SQLExceptions to JDBCExceptions.

Summary

Constants
String MSG
Fields
public static final BasicSQLExceptionConverter INSTANCE
Public Constructors
BasicSQLExceptionConverter()
Public Methods
JDBCException convert(SQLException sqlException)
Perform a conversion.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String MSG

Constant Value: "Unable to query java.sql.DatabaseMetaData"

Fields

public static final BasicSQLExceptionConverter INSTANCE

Public Constructors

public BasicSQLExceptionConverter ()

Public Methods

public JDBCException convert (SQLException sqlException)

Perform a conversion.

Parameters
sqlException The exception to convert.
Returns
  • The converted exception.