public class OracleDialect extends StandardDialect
TriggerSupport.TriggerEventEnum, TriggerSupport.TriggerTimeEnum
SQL_2003_RESERVED_KEY_WORDS
Constructor and Description |
---|
OracleDialect() |
Modifier and Type | Method and Description |
---|---|
protected String |
alterSequenceFormat() |
protected String |
createForeignKeyConstraintFormat()
ON UPDATE and deferrability clauses are not supported.
|
protected String |
dummyTable() |
Collection<SequenceProperties> |
getSequences(DatabaseMetaData metaData,
SequencePropertiesFactory factory)
Returns a collection of sequences using dialect specific logic.
|
SequenceSupport |
getSequenceSupport() |
protected boolean |
indicatesFailure(String sqlState)
Indicates whether the specified SQLState indicates a database failure that should result in a database deactivation.
|
protected String |
nextSequenceValueFormat() |
protected String |
schemaPattern(DatabaseMetaData metaData) |
protected String |
sequencePattern() |
protected String |
truncateTableFormat() |
protected String |
vendorPattern() |
alterIdentityColumnFormat, createColumnPropertiesFactory, createForeignKeyConstraintFactory, createIdentifierNormalizer, createQualifiedNameFactory, createSchemaFormat, createSequencePropertiesFactory, createTriggerFormat, createUniqueConstraintFactory, createUniqueConstraintFormat, currentDatePattern, currentTimePattern, currentTimestampPattern, dateLiteralFormat, dropConstraintFormat, dropForeignKeyConstraintFormat, dropSchemaFormat, dropTriggerFormat, dropUniqueConstraintFormat, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionFormat, executeFunctionSQL, executeQuery, failureXAErrorCodes, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumns, getColumnType, getConnectionProperties, getCreateForeignKeyConstraintSQL, getCreateSchemaSQL, getCreateTriggerSQL, getCreateUniqueConstraintSQL, getDefaultSchemas, getDropForeignKeyConstraintSQL, getDropSchemaSQL, getDropTriggerSQL, getDropUniqueConstraintSQL, getDumpRestoreSupport, getForeignKeyConstraints, getIdentityColumns, getIdentityColumnSupport, getNextSequenceValueSQL, getPrimaryKey, getTables, getTriggerRowAlias, getTriggerSupport, getTruncateTableSQL, getTypes, getUniqueConstraints, identifierPattern, indicatesFailure, indicatesFailure, indicatesFailure, insertIntoTablePattern, isSelectForUpdate, isValid, locatorPattern, meetsRequirement, parse, parseInsertTable, parseSequence, randomPattern, reservedIdentifiers, selectForUpdatePattern, sequenceTableType, timeLiteralFormat, timestampLiteralFormat
public OracleDialect()
protected String vendorPattern()
vendorPattern
in class StandardDialect
StandardDialect.vendorPattern()
protected String dummyTable()
dummyTable
in class StandardDialect
StandardDialect.dummyTable()
public SequenceSupport getSequenceSupport()
getSequenceSupport
in interface Dialect
getSequenceSupport
in class StandardDialect
StandardDialect.getSequenceSupport()
public Collection<SequenceProperties> getSequences(DatabaseMetaData metaData, SequencePropertiesFactory factory) throws SQLException
StandardDialect
getSequences
in interface SequenceSupport
getSequences
in class StandardDialect
metaData
- database meta dataSQLException
SequenceSupport.getSequences(java.sql.DatabaseMetaData, net.sf.hajdbc.SequencePropertiesFactory)
protected String schemaPattern(DatabaseMetaData metaData) throws SQLException
schemaPattern
in class StandardDialect
SQLException
protected String truncateTableFormat()
truncateTableFormat
in class StandardDialect
StandardDialect.truncateTableFormat()
protected String createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat
in class StandardDialect
StandardDialect.createForeignKeyConstraintFormat()
protected String sequencePattern()
sequencePattern
in class StandardDialect
StandardDialect.sequencePattern()
protected String nextSequenceValueFormat()
nextSequenceValueFormat
in class StandardDialect
StandardDialect.nextSequenceValueFormat()
protected String alterSequenceFormat()
alterSequenceFormat
in class StandardDialect
StandardDialect.alterSequenceFormat()
protected boolean indicatesFailure(String sqlState)
StandardDialect
indicatesFailure
in class StandardDialect
sqlState
- a SQL:2003 or X/Open SQLStateCopyright © 2004–2014 Paul Ferraro. All rights reserved.