|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.dialect.resolver.DialectResolverSet
public class DialectResolverSet
A DialectResolver
implementation which coordinates resolution by delegating to its
registered sub-resolvers. Sub-resolvers may be registered by calling either addResolver(org.hibernate.dialect.resolver.DialectResolver)
or
addResolverAtFirst(org.hibernate.dialect.resolver.DialectResolver)
.
Constructor Summary | |
---|---|
DialectResolverSet()
|
Method Summary | |
---|---|
void |
addResolver(DialectResolver resolver)
Add a resolver at the end of the underlying resolver list. |
void |
addResolverAtFirst(DialectResolver resolver)
Add a resolver at the beginning of the underlying resolver list. |
Dialect |
resolveDialect(DatabaseMetaData metaData)
Determine the Dialect to use based on the given JDBC DatabaseMetaData . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialectResolverSet()
Method Detail |
---|
public Dialect resolveDialect(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.
resolveDialect
in interface DialectResolver
metaData
- The JDBC metadata.
public void addResolver(DialectResolver resolver)
resolver
- The resolver to add.public void addResolverAtFirst(DialectResolver resolver)
resolver
- The resolver to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |