public abstract class AbstractDatabaseProperties extends java.lang.Object implements DatabaseProperties
Modifier and Type | Field and Description |
---|---|
protected Dialect |
dialect |
protected DatabaseMetaDataSupport |
support |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDatabaseProperties(java.sql.DatabaseMetaData metaData,
DatabaseMetaDataSupportFactory factory,
Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
SequenceProperties |
findSequence(java.lang.String sequence) |
TableProperties |
findTable(java.lang.String table) |
protected abstract java.util.List<java.lang.String> |
getDefaultSchemaList() |
protected abstract java.util.Map<java.lang.String,SequenceProperties> |
getSequenceMap() |
java.util.Collection<SequenceProperties> |
getSequences() |
protected abstract java.util.Map<java.lang.String,TableProperties> |
getTableMap() |
java.util.Collection<TableProperties> |
getTables() |
boolean |
supportsSelectForUpdate() |
protected final DatabaseMetaDataSupport support
protected AbstractDatabaseProperties(java.sql.DatabaseMetaData metaData, DatabaseMetaDataSupportFactory factory, Dialect dialect) throws java.sql.SQLException
java.sql.SQLException
public final boolean supportsSelectForUpdate() throws java.sql.SQLException
supportsSelectForUpdate
in interface DatabaseProperties
java.sql.SQLException
DatabaseProperties.supportsSelectForUpdate()
public final java.util.Collection<TableProperties> getTables() throws java.sql.SQLException
getTables
in interface DatabaseProperties
java.sql.SQLException
DatabaseProperties.getTables()
public final java.util.Collection<SequenceProperties> getSequences() throws java.sql.SQLException
getSequences
in interface DatabaseProperties
java.sql.SQLException
DatabaseProperties.getSequences()
public final TableProperties findTable(java.lang.String table) throws java.sql.SQLException
findTable
in interface DatabaseProperties
java.sql.SQLException
DatabaseProperties.findTable(java.lang.String)
public final SequenceProperties findSequence(java.lang.String sequence) throws java.sql.SQLException
findSequence
in interface DatabaseProperties
java.sql.SQLException
DatabaseProperties.findSequence(java.lang.String)
protected abstract java.util.Map<java.lang.String,TableProperties> getTableMap() throws java.sql.SQLException
java.sql.SQLException
protected abstract java.util.Map<java.lang.String,SequenceProperties> getSequenceMap() throws java.sql.SQLException
java.sql.SQLException
protected abstract java.util.List<java.lang.String> getDefaultSchemaList() throws java.sql.SQLException
java.sql.SQLException