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, quoteStringprotected void addQuotedCharacter(StringBuilder result, char c)
GeneratorDialectaddQuotedCharacter in class GeneratorDialectresult - the current result bufferc - the character to quotepublic List<? extends EntityStatement> adjustNextIdentityValue(String tableName, String columnName, long nextValue)
GeneratorDialectadjustNextIdentityValue in class GeneratorDialecttableName - 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)
GeneratorDialectconvertBooleanValue in class GeneratorDialectvalue - the value to convertpublic String createBlobExpression(byte[] blob)
GeneratorDialectcreateBlobExpression in class GeneratorDialectblob - the bytes to convertCopyright © 2016 fastnate.org. All rights reserved.