Package org.hibernate.dialect.resolver
Interface DialectResolver
- All Known Implementing Classes:
AbstractDialectResolver,BasicDialectResolver,DialectResolverSet,StandardDialectResolver
public interface DialectResolver
Contract for determining the
Dialect to use based on a JDBC Connection.-
Method Summary
Modifier and TypeMethodDescriptionresolveDialect(DatabaseMetaData metaData) Determine theDialectto use based on the given JDBCDatabaseMetaData.
-
Method Details
-
resolveDialect
Determine theDialectto use based on the given JDBCDatabaseMetaData. Implementations are expected to return theDialectinstance to use, or null if theDatabaseMetaDatadoes not match the criteria handled by this impl.- Parameters:
metaData- The JDBC metadata.- Returns:
- The dialect to use, or null.
- Throws:
JDBCConnectionException- Indicates a 'non transient connection problem', which indicates that we should stop resolution attempts.
-