public abstract class AbstractDatabasePlatform extends Object implements DatabasePlatform
DatabasePlatform.TypeDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_NAME |
static String |
COLUMN_SIZE |
protected String |
connectionStringTemplate |
static String |
copyright |
static String |
DECIMAL_DIGITS |
static String |
DEFERRABILITY |
static String |
DELETE_RULE |
static String |
FK_NAME |
static String |
FKCOLUMN_NAME |
static String |
FKTABLE_CAT |
static String |
FKTABLE_NAME |
static String |
FKTABLE_SCHEM |
protected Dialect |
hibernateDialect |
static String |
KEY_SEQ |
static org.slf4j.Logger |
logger |
static String |
NULLABLE |
static String |
PK_NAME |
static String |
PKCOLUMN_NAME |
static String |
PKTABLE_CAT |
static String |
PKTABLE_NAME |
static String |
PKTABLE_SCHEM |
protected String |
status |
static String |
TABLE_CAT |
static String |
TABLE_CATALOG |
static String |
TABLE_NAME |
static String |
TABLE_SCHEM |
static String[] |
tableTypes |
static String |
TYPE_NAME |
static String |
UPDATE_RULE |
STATUS_CREATED, STATUS_DRIVER_ERROR, STATUS_DRIVER_NOT_FOUND, STATUS_OK
Constructor and Description |
---|
AbstractDatabasePlatform(Dialect hibernateDialect,
String connectionStringTemplate) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCatalogColumnName() |
String |
getConnectionStringTemplate() |
DatabasePlatform.TypeDescriptor |
getDatabaseSpecificType(Column column) |
Dialect |
getHibernateDialect() |
List<String[]> |
getSchemaNames(DatabaseMetaData databaseMetaData) |
String |
getStatus() |
boolean |
isDialectAutodetected()
Is Hibernate able to automatically the dialect from a JDBC connection for this database platform?
|
void |
shutdown(ConnectionProvider connectionProvider) |
void |
test() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getStandardDriverClassName, isApplicable
public static final String copyright
public static final String[] tableTypes
public static final String TABLE_CAT
public static final String TABLE_CATALOG
public static final String TABLE_SCHEM
public static final String TABLE_NAME
public static final String COLUMN_NAME
public static final String KEY_SEQ
public static final String PK_NAME
public static final String TYPE_NAME
public static final String NULLABLE
public static final String COLUMN_SIZE
public static final String DECIMAL_DIGITS
public static final String FKTABLE_SCHEM
public static final String FKTABLE_NAME
public static final String FKCOLUMN_NAME
public static final String PKTABLE_SCHEM
public static final String PKTABLE_NAME
public static final String PKCOLUMN_NAME
public static final String UPDATE_RULE
public static final String DELETE_RULE
public static final String DEFERRABILITY
public static final String FK_NAME
public static final String FKTABLE_CAT
public static final String PKTABLE_CAT
protected String status
protected Dialect hibernateDialect
protected String connectionStringTemplate
public static final org.slf4j.Logger logger
public void test()
test
in interface DatabasePlatform
public String getStatus()
getStatus
in interface DatabasePlatform
public DatabasePlatform.TypeDescriptor getDatabaseSpecificType(Column column)
getDatabaseSpecificType
in interface DatabasePlatform
public Dialect getHibernateDialect()
getHibernateDialect
in interface DatabasePlatform
public boolean isDialectAutodetected()
DatabasePlatform
isDialectAutodetected
in interface DatabasePlatform
public String getConnectionStringTemplate()
getConnectionStringTemplate
in interface DatabasePlatform
public void shutdown(ConnectionProvider connectionProvider)
shutdown
in interface DatabasePlatform
public List<String[]> getSchemaNames(DatabaseMetaData databaseMetaData) throws SQLException
getSchemaNames
in interface DatabasePlatform
SQLException
protected String getCatalogColumnName()