public static interface DatabaseInfoDialectResolver.DatabaseInfo
DatabaseInfoDialectResolver.resolve(org.hibernate.engine.jdbc.dialect.spi.DatabaseInfoDialectResolver.DatabaseInfo)| Modifier and Type | Field and Description |
|---|---|
static int |
NO_VERSION
Constant used to indicate that no version is defined
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDatabaseMajorVersion()
Obtain access to the database major version, as returned from
DatabaseMetaData.getDatabaseMajorVersion() for the target database; -9999
indicates no version information was supplied |
int |
getDatabaseMinorVersion()
Obtain access to the database minor version, as returned from
DatabaseMetaData.getDatabaseMinorVersion() for the target database; -9999
indicates no version information was supplied |
String |
getDatabaseName()
Obtain access to the database name, as returned from
DatabaseMetaData.getDatabaseProductName()
for the target database |
static final int NO_VERSION
String getDatabaseName()
DatabaseMetaData.getDatabaseProductName()
for the target databaseint getDatabaseMajorVersion()
DatabaseMetaData.getDatabaseMajorVersion() for the target database; -9999
indicates no version information was suppliedNO_VERSIONint getDatabaseMinorVersion()
DatabaseMetaData.getDatabaseMinorVersion() for the target database; -9999
indicates no version information was suppliedNO_VERSIONCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.