Package org.fastnate.generator.dialect
Class H2Dialect
java.lang.Object
org.fastnate.generator.dialect.GeneratorDialect
org.fastnate.generator.dialect.H2Dialect
Handles H2 specific conversions.
- Author:
- Tobias Liefke
- See Also:
-
Field Summary
Fields inherited from class org.fastnate.generator.dialect.GeneratorDialect
NOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBlobExpression(byte[] blob) Converts the given byte array to an SQL expression for the current database.Methods inherited from class org.fastnate.generator.dialect.GeneratorDialect
addQuotedCharacter, adjustNextIdentityValue, adjustNextSequenceValue, buildCurrentSequenceValue, buildNextSequenceValue, convertBooleanValue, convertNumberValue, convertTemporalValue, convertTemporalValue, convertToDatabaseDate, createAddDateExpression, createHexBlobExpression, getConcatOperator, getEmptyValuesExpression, getLetter, getOptionalTable, isEmptyStringEqualToNull, isEmulatingSequences, isFastInTransaction, isIdentitySupported, isNextSequenceValueInInsertSupported, isSchemaSupported, isSelectFromSameTableInInsertSupported, isSequenceInWhereSupported, isSequenceSupported, isSettingIdentityAllowed, quoteIdentifier, quoteString, truncateTable
-
Constructor Details
-
H2Dialect
public H2Dialect()
-
-
Method Details
-
createBlobExpression
Description copied from class:GeneratorDialectConverts the given byte array to an SQL expression for the current database.- Overrides:
createBlobExpressionin classGeneratorDialect- Parameters:
blob- the bytes to convert- Returns:
- the expression for the bytes
-