public interface DialectResolver extends Service
Dialect to use based on a JDBC Connection.| Modifier and Type | Method and Description |
|---|---|
Dialect |
resolveDialect(DatabaseMetaData metaData)
Determine the
Dialect to use based on the given JDBC DatabaseMetaData. |
Dialect resolveDialect(DatabaseMetaData metaData) throws JDBCConnectionException
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.metaData - The JDBC metadata.JDBCConnectionException - Indicates a 'non transient connection problem', which indicates that
we should stop resolution attempts.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.