public final class PostgresDialect extends GeneratorDialect
NOW
Constructor and Description |
---|
PostgresDialect() |
Modifier and Type | Method and Description |
---|---|
protected void |
addQuotedCharacter(StringBuilder result,
char c)
Adds a quoted character to the result string buffer.
|
List<? extends EntityStatement> |
adjustNextIdentityValue(String tableName,
String columnName,
long nextValue)
Adjusts the next value of the given identity column to ensure that it is bigger than the last generated value.
|
String |
convertBooleanValue(boolean value)
Converts a boolean value for the current database type.
|
String |
createBlobExpression(byte[] blob)
Converts the given byte array to an SQL expression for the current database.
|
adjustNextSequenceValue, buildCurrentSequenceValue, buildNextSequenceValue, convertTemporalValue, createHexBlobExpression, createSql, getAutoGenerationType, getOptionalTable, isEmptyStringEqualToNull, isIdentitySupported, isNextSequenceValueInInsertSupported, isSequenceInWhereSupported, isSequenceSupported, quoteString
protected void addQuotedCharacter(StringBuilder result, char c)
GeneratorDialect
addQuotedCharacter
in class GeneratorDialect
result
- the current result bufferc
- the character to quotepublic List<? extends EntityStatement> adjustNextIdentityValue(String tableName, String columnName, long nextValue)
GeneratorDialect
adjustNextIdentityValue
in class GeneratorDialect
tableName
- the name of the table of the columncolumnName
- the name of the (auto increment) identity columnnextValue
- the next value of the identity columnpublic String convertBooleanValue(boolean value)
GeneratorDialect
convertBooleanValue
in class GeneratorDialect
value
- the value to convertpublic String createBlobExpression(byte[] blob)
GeneratorDialect
createBlobExpression
in class GeneratorDialect
blob
- the bytes to convertCopyright © 2016 fastnate.org. All rights reserved.