public class Db2DatabaseType
extends com.j256.ormlite.db.BaseDatabaseType
WARNING: I have not tested this unfortunately because of a lack of access to a DB2 instance. Love to get 1-2 hours of access to an database to test/tweak this. Undoubtably is it wrong. Please contact us if you'd like to help with this class.
Constructor and Description |
---|
Db2DatabaseType() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendBooleanType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
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) |
protected void |
appendSerializableType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
configureGeneratedId(String tableName,
StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> statementsAfter,
List<String> additionalArgs,
List<String> queriesAfter) |
String |
getDatabaseName() |
protected String[] |
getDriverClassNames() |
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart) |
boolean |
isOffsetSqlSupported() |
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendCharType, appendColumnArg, appendCreateSchemaSuffix, appendCreateTableSuffix, appendDateType, appendDeleteLimitValue, appendDoubleType, appendEscapedWord, appendFloatType, appendInsertNoColumns, appendIntegerType, appendLimitValue, appendLongStringType, appendLongType, appendOffsetValue, appendSelectNextValFromSequence, appendShortType, appendStringType, appendUpdateLimitValue, appendUuidNativeType, configureGeneratedIdSequence, configureId, downCaseString, dropColumnArg, extractDatabaseTableConfig, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getDataPersister, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIfNotExistsSupported, isCreateIndexIfNotExistsSupported, isCreateSchemaIfNotExistsSupported, isCreateSchemaReturnsNegative, isCreateSchemaReturnsZero, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterDeleteSupported, isLimitAfterSelect, isLimitAfterUpdateSupported, isLimitDeleteAtEndSupported, isLimitSqlSupported, isLimitUpdateAtEndSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isSelectSequenceBeforeInsert, isSequenceNamesMustBeLowerCase, isTruncateSupported, isVarcharFieldWidthSupported, loadDriver, setDriver, upCaseEntityName, upCaseString
protected String[] getDriverClassNames()
getDriverClassNames
in class com.j256.ormlite.db.BaseDatabaseType
public String getDatabaseName()
protected void appendBooleanType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendBooleanType
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 configureGeneratedId(String tableName, StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter)
configureGeneratedId
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 isOffsetSqlSupported()
isOffsetSqlSupported
in interface com.j256.ormlite.db.DatabaseType
isOffsetSqlSupported
in class com.j256.ormlite.db.BaseDatabaseType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.