public interface

DialectResolver

org.hibernate.dialect.resolver.DialectResolver
Known Indirect Subclasses

Class Overview

Contract for determining the Dialect to use based on a JDBC Connection.

Summary

Public Methods
abstract Dialect resolveDialect(DatabaseMetaData metaData)
Determine the Dialect to use based on the given JDBC DatabaseMetaData.

Public Methods

public abstract Dialect resolveDialect (DatabaseMetaData metaData)

Determine the Dialect to use based on the given JDBC DatabaseMetaData. Implementations are expected to return the Dialect instance to use, or null if the DatabaseMetaData does 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.