public class H2Dialect extends StandardDialect
TriggerSupport.TriggerEventEnum, TriggerSupport.TriggerTimeEnum
SQL_2003_RESERVED_KEY_WORDS
Constructor and Description |
---|
H2Dialect() |
Modifier and Type | Method and Description |
---|---|
protected String |
createForeignKeyConstraintFormat()
Deferrability clause is not supported.
|
protected String |
currentDatePattern() |
protected String |
currentTimePattern() |
protected String |
currentTimestampPattern() |
protected String |
executeFunctionFormat() |
List<String> |
getDefaultSchemas(DatabaseMetaData metaData)
Returns a search path of schemas
|
Collection<SequenceProperties> |
getSequences(DatabaseMetaData metaData,
SequencePropertiesFactory factory)
Returns a collection of sequences using dialect specific logic.
|
SequenceSupport |
getSequenceSupport() |
protected boolean |
indicatesFailure(int code)
Indicates whether the specified vendor-specific error code indicates a database failure that should result in a database deactivation.
|
protected String |
randomPattern() |
protected String |
vendorPattern() |
alterIdentityColumnFormat, alterSequenceFormat, createColumnPropertiesFactory, createForeignKeyConstraintFactory, createIdentifierNormalizer, createQualifiedNameFactory, createSchemaFormat, createSequencePropertiesFactory, createTriggerFormat, createUniqueConstraintFactory, createUniqueConstraintFormat, dateLiteralFormat, dropConstraintFormat, dropForeignKeyConstraintFormat, dropSchemaFormat, dropTriggerFormat, dropUniqueConstraintFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionSQL, executeQuery, failureXAErrorCodes, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumns, getColumnType, getConnectionProperties, getCreateForeignKeyConstraintSQL, getCreateSchemaSQL, getCreateTriggerSQL, getCreateUniqueConstraintSQL, 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, nextSequenceValueFormat, parse, parseInsertTable, parseSequence, reservedIdentifiers, schemaPattern, selectForUpdatePattern, sequencePattern, sequenceTableType, timeLiteralFormat, timestampLiteralFormat, truncateTableFormat
public H2Dialect()
protected String vendorPattern()
vendorPattern
in class StandardDialect
StandardDialect.vendorPattern()
protected String executeFunctionFormat()
executeFunctionFormat
in class StandardDialect
StandardDialect.executeFunctionFormat()
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 createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat
in class StandardDialect
StandardDialect.createForeignKeyConstraintFormat()
protected String currentDatePattern()
currentDatePattern
in class StandardDialect
StandardDialect.currentDatePattern()
protected String currentTimePattern()
currentTimePattern
in class StandardDialect
StandardDialect.currentTimePattern()
protected String currentTimestampPattern()
currentTimestampPattern
in class StandardDialect
StandardDialect.currentTimestampPattern()
protected String randomPattern()
randomPattern
in class StandardDialect
StandardDialect.randomPattern()
public List<String> getDefaultSchemas(DatabaseMetaData metaData)
getDefaultSchemas
in interface Dialect
getDefaultSchemas
in class StandardDialect
StandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)
protected boolean indicatesFailure(int code)
StandardDialect
indicatesFailure
in class StandardDialect
code
- a vendor-specific error codeCopyright © 2004–2014 Paul Ferraro. All rights reserved.