public class PostgresDatabaseType
extends com.j256.ormlite.db.BaseDatabaseType
Constructor and Description |
---|
PostgresDatabaseType() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendByteArrayType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendByteType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
void |
appendEscapedEntityName(StringBuilder sb,
String name) |
void |
appendSelectNextValFromSequence(StringBuilder sb,
String sequenceName) |
protected void |
appendSerializableType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendUuidNativeType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
configureGeneratedIdSequence(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> additionalArgs,
List<String> queriesAfter) |
void |
dropColumnArg(com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> statementsAfter) |
String |
getDatabaseName() |
protected String[] |
getDriverClassNames() |
boolean |
isCreateIfNotExistsSupported() |
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart) |
boolean |
isIdSequenceNeeded() |
boolean |
isSelectSequenceBeforeInsert() |
boolean |
isSequenceNamesMustBeLowerCase() |
boolean |
isTruncateSupported() |
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendBooleanType, appendCharType, appendColumnArg, appendCreateSchemaSuffix, appendCreateTableSuffix, appendDateType, appendDeleteLimitValue, appendDoubleType, appendEscapedWord, appendFloatType, appendInsertNoColumns, appendIntegerType, appendLimitValue, appendLongStringType, appendLongType, appendOffsetValue, appendShortType, appendStringType, appendUpdateLimitValue, configureGeneratedId, configureId, downCaseString, extractDatabaseTableConfig, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getDataPersister, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIndexIfNotExistsSupported, isCreateSchemaIfNotExistsSupported, isCreateSchemaReturnsNegative, isCreateSchemaReturnsZero, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isLimitAfterDeleteSupported, isLimitAfterSelect, isLimitAfterUpdateSupported, isLimitDeleteAtEndSupported, isLimitSqlSupported, isLimitUpdateAtEndSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isOffsetSqlSupported, isVarcharFieldWidthSupported, loadDriver, setDriver, upCaseEntityName, upCaseString
protected String[] getDriverClassNames()
getDriverClassNames
in class com.j256.ormlite.db.BaseDatabaseType
public String getDatabaseName()
protected void appendUuidNativeType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendUuidNativeType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteArrayType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteArrayType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendSerializableType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendSerializableType
in class com.j256.ormlite.db.BaseDatabaseType
protected void configureGeneratedIdSequence(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
configureGeneratedIdSequence
in class com.j256.ormlite.db.BaseDatabaseType
public void dropColumnArg(com.j256.ormlite.field.FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter)
dropColumnArg
in interface com.j256.ormlite.db.DatabaseType
dropColumnArg
in class com.j256.ormlite.db.BaseDatabaseType
public void appendEscapedEntityName(StringBuilder sb, String name)
appendEscapedEntityName
in interface com.j256.ormlite.db.DatabaseType
appendEscapedEntityName
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isIdSequenceNeeded()
isIdSequenceNeeded
in interface com.j256.ormlite.db.DatabaseType
isIdSequenceNeeded
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isSelectSequenceBeforeInsert()
isSelectSequenceBeforeInsert
in interface com.j256.ormlite.db.DatabaseType
isSelectSequenceBeforeInsert
in class com.j256.ormlite.db.BaseDatabaseType
public void appendSelectNextValFromSequence(StringBuilder sb, String sequenceName)
appendSelectNextValFromSequence
in interface com.j256.ormlite.db.DatabaseType
appendSelectNextValFromSequence
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isTruncateSupported()
isTruncateSupported
in interface com.j256.ormlite.db.DatabaseType
isTruncateSupported
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isCreateIfNotExistsSupported()
isCreateIfNotExistsSupported
in interface com.j256.ormlite.db.DatabaseType
isCreateIfNotExistsSupported
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isSequenceNamesMustBeLowerCase()
isSequenceNamesMustBeLowerCase
in interface com.j256.ormlite.db.DatabaseType
isSequenceNamesMustBeLowerCase
in class com.j256.ormlite.db.BaseDatabaseType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.