DatabaseInfoDialectResolver
contract. See HHH-7965 for details.@Deprecated public class BasicDialectResolver extends AbstractDatabaseMetaDataDialectResolver
Modifier and Type | Field and Description |
---|---|
static int |
VERSION_INSENSITIVE_VERSION
Deprecated.
Constant indicating no version info was given
|
Constructor and Description |
---|
BasicDialectResolver(String matchingName,
Class dialectClass)
Deprecated.
Constructs a BasicDialectResolver
|
BasicDialectResolver(String matchingName,
int matchingVersion,
Class dialectClass)
Deprecated.
Constructs a BasicDialectResolver
|
Modifier and Type | Method and Description |
---|---|
protected Dialect |
resolveDialectInternal(DatabaseMetaData metaData)
Deprecated.
Perform the actual resolution without caring about handling
SQLException s. |
resolveDialect
public static final int VERSION_INSENSITIVE_VERSION
public BasicDialectResolver(String matchingName, Class dialectClass)
matchingName
- The name of the driver to match ondialectClass
- The Dialect class to use on matchpublic BasicDialectResolver(String matchingName, int matchingVersion, Class dialectClass)
matchingName
- The name of the driver to match onmatchingVersion
- The version of the driver to match ondialectClass
- The Dialect class to use on matchprotected final Dialect resolveDialectInternal(DatabaseMetaData metaData) throws SQLException
AbstractDatabaseMetaDataDialectResolver
SQLException
s.resolveDialectInternal
in class AbstractDatabaseMetaDataDialectResolver
metaData
- The database metadataSQLException
- Indicates problems accessing the metadata.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.