|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.ormlite.db.BaseDatabaseType
com.j256.ormlite.db.Db2DatabaseType
public class Db2DatabaseType
IBM DB2 database type information used to create the tables, etc..
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.j256.ormlite.db.BaseDatabaseType |
---|
com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter |
Field Summary |
---|
Fields inherited from class com.j256.ormlite.db.BaseDatabaseType |
---|
DEFAULT_SEQUENCE_SUFFIX, driver |
Constructor Summary | |
---|---|
Db2DatabaseType()
|
Method Summary | |
---|---|
protected void |
appendBooleanType(StringBuilder sb,
int fieldWidth)
|
protected void |
appendByteArrayType(StringBuilder sb,
int fieldWidth)
|
protected void |
appendByteType(StringBuilder sb,
int fieldWidth)
|
void |
appendEscapedEntityName(StringBuilder sb,
String name)
|
protected void |
appendSerializableType(StringBuilder sb,
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 |
getDriverClassName()
|
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart)
|
boolean |
isOffsetSqlSupported()
|
Methods inherited from class com.j256.ormlite.db.BaseDatabaseType |
---|
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendCharType, appendColumnArg, appendCreateTableSuffix, appendDateType, appendEscapedWord, appendLimitValue, appendLongStringType, appendLongType, appendOffsetValue, appendSelectNextValFromSequence, appendShortType, appendStringType, configureGeneratedIdSequence, configureId, dropColumnArg, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIfNotExistsSupported, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isSelectSequenceBeforeInsert, isTruncateSupported, isVarcharFieldWidthSupported, loadDriver, setDriver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.j256.ormlite.db.DatabaseType |
---|
addPrimaryKeySql, addUniqueComboSql, appendColumnArg, appendCreateTableSuffix, appendEscapedWord, appendLimitValue, appendOffsetValue, appendSelectNextValFromSequence, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIfNotExistsSupported, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isSelectSequenceBeforeInsert, isTruncateSupported, isVarcharFieldWidthSupported, loadDriver, setDriver |
Constructor Detail |
---|
public Db2DatabaseType()
Method Detail |
---|
public boolean isDatabaseUrlThisType(String url, String dbTypePart)
isDatabaseUrlThisType
in interface com.j256.ormlite.db.DatabaseType
protected String getDriverClassName()
getDriverClassName
in class com.j256.ormlite.db.BaseDatabaseType
public String getDatabaseName()
getDatabaseName
in interface com.j256.ormlite.db.DatabaseType
protected void appendBooleanType(StringBuilder sb, int fieldWidth)
appendBooleanType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteType(StringBuilder sb, int fieldWidth)
appendByteType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendByteArrayType(StringBuilder sb, int fieldWidth)
appendByteArrayType
in class com.j256.ormlite.db.BaseDatabaseType
protected void appendSerializableType(StringBuilder sb, 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |