public class H2Dialect extends StandardDialect
TriggerSupport.TriggerEventEnum, TriggerSupport.TriggerTimeEnumSQL_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, truncateTableFormatpublic H2Dialect()
protected String vendorPattern()
vendorPattern in class StandardDialectStandardDialect.vendorPattern()protected String executeFunctionFormat()
executeFunctionFormat in class StandardDialectStandardDialect.executeFunctionFormat()public SequenceSupport getSequenceSupport()
getSequenceSupport in interface DialectgetSequenceSupport in class StandardDialectStandardDialect.getSequenceSupport()public Collection<SequenceProperties> getSequences(DatabaseMetaData metaData, SequencePropertiesFactory factory) throws SQLException
StandardDialectgetSequences in interface SequenceSupportgetSequences in class StandardDialectmetaData - database meta dataSQLExceptionSequenceSupport.getSequences(java.sql.DatabaseMetaData, net.sf.hajdbc.SequencePropertiesFactory)protected String createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat in class StandardDialectStandardDialect.createForeignKeyConstraintFormat()protected String currentDatePattern()
currentDatePattern in class StandardDialectStandardDialect.currentDatePattern()protected String currentTimePattern()
currentTimePattern in class StandardDialectStandardDialect.currentTimePattern()protected String currentTimestampPattern()
currentTimestampPattern in class StandardDialectStandardDialect.currentTimestampPattern()protected String randomPattern()
randomPattern in class StandardDialectStandardDialect.randomPattern()public List<String> getDefaultSchemas(DatabaseMetaData metaData)
getDefaultSchemas in interface DialectgetDefaultSchemas in class StandardDialectStandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)protected boolean indicatesFailure(int code)
StandardDialectindicatesFailure in class StandardDialectcode - a vendor-specific error codeCopyright © 2004–2014 Paul Ferraro. All rights reserved.