public abstract class AbstractDatabaseProperties extends Object implements DatabaseProperties
| Modifier and Type | Field and Description |
|---|---|
protected QualifiedNameFactory |
nameFactory |
| Constructor and Description |
|---|
AbstractDatabaseProperties(DatabaseMetaData metaData,
Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<String> |
defaultSchemas() |
SequenceProperties |
findSequence(String sequence) |
TableProperties |
findTable(String table) |
String |
findType(int precision,
int... types) |
Collection<SequenceProperties> |
getSequences() |
Collection<TableProperties> |
getTables() |
boolean |
locatorsUpdateCopy() |
protected abstract Map<QualifiedName,SequenceProperties> |
sequences() |
boolean |
supportsSelectForUpdate() |
protected abstract Map<QualifiedName,TableProperties> |
tables() |
protected abstract Map<Integer,Map.Entry<String,Integer>> |
types() |
protected final QualifiedNameFactory nameFactory
public AbstractDatabaseProperties(DatabaseMetaData metaData, Dialect dialect) throws SQLException
SQLExceptionpublic final boolean supportsSelectForUpdate()
supportsSelectForUpdate in interface DatabasePropertiesDatabaseProperties.supportsSelectForUpdate()public boolean locatorsUpdateCopy()
locatorsUpdateCopy in interface DatabasePropertiesDatabaseProperties.locatorsUpdateCopy()public final Collection<TableProperties> getTables() throws SQLException
getTables in interface DatabasePropertiesSQLExceptionDatabaseProperties.getTables()protected abstract Map<QualifiedName,TableProperties> tables() throws SQLException
SQLExceptionpublic final Collection<SequenceProperties> getSequences() throws SQLException
getSequences in interface DatabasePropertiesSQLExceptionDatabaseProperties.getSequences()protected abstract Map<QualifiedName,SequenceProperties> sequences() throws SQLException
SQLExceptionpublic final TableProperties findTable(String table) throws SQLException
findTable in interface DatabasePropertiesSQLExceptionDatabaseProperties.findTable(java.lang.String)public final SequenceProperties findSequence(String sequence) throws SQLException
findSequence in interface DatabasePropertiesSQLExceptionDatabaseProperties.findSequence(java.lang.String)protected abstract List<String> defaultSchemas() throws SQLException
SQLExceptionpublic String findType(int precision, int... types) throws SQLException
findType in interface DatabasePropertiesSQLExceptionDatabaseProperties.findType(int, int[])protected abstract Map<Integer,Map.Entry<String,Integer>> types() throws SQLException
SQLExceptionCopyright © 2004–2014 Paul Ferraro. All rights reserved.