|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.dialect.resolver.AbstractDialectResolver
public abstract class AbstractDialectResolver
A templated resolver impl which delegates to the resolveDialectInternal(java.sql.DatabaseMetaData) method
and handles any thrown SQLExceptions.
| Constructor Summary | |
|---|---|
AbstractDialectResolver()
|
|
| Method Summary | |
|---|---|
Dialect |
resolveDialect(java.sql.DatabaseMetaData metaData)
Determine the Dialect to use based on the given JDBC DatabaseMetaData.
Here we template the resolution, delegating to resolveDialectInternal(java.sql.DatabaseMetaData) and handling
SQLExceptions properly. |
protected abstract Dialect |
resolveDialectInternal(java.sql.DatabaseMetaData metaData)
Perform the actual resolution without caring about handling SQLExceptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDialectResolver()
| Method Detail |
|---|
public final Dialect resolveDialect(java.sql.DatabaseMetaData metaData)
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.
Here we template the resolution, delegating to resolveDialectInternal(java.sql.DatabaseMetaData) and handling
SQLExceptions properly.
resolveDialect in interface DialectResolvermetaData - The JDBC metadata.
protected abstract Dialect resolveDialectInternal(java.sql.DatabaseMetaData metaData)
throws java.sql.SQLException
SQLExceptions.
metaData - The database metadata
java.sql.SQLException - Indicates problems accessing the metadata.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||