|
||||||||||
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.H2DatabaseType
public class H2DatabaseType
H2 database type information used to create the tables, etc..
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 | |
---|---|
H2DatabaseType()
|
Method Summary | |
---|---|
protected void |
appendBooleanType(StringBuilder sb,
int fieldWidth)
|
void |
appendLimitValue(StringBuilder sb,
long limit,
Long offset)
|
void |
appendOffsetValue(StringBuilder sb,
long offset)
|
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 |
isCreateIfNotExistsSupported()
|
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart)
|
boolean |
isOffsetLimitArgument()
|
boolean |
isTruncateSupported()
|
Methods inherited from class com.j256.ormlite.db.BaseDatabaseType |
---|
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendByteArrayType, appendByteType, appendCharType, appendColumnArg, appendCreateTableSuffix, appendDateType, appendEscapedEntityName, appendEscapedWord, appendLongStringType, appendLongType, appendSelectNextValFromSequence, appendSerializableType, appendShortType, appendStringType, configureGeneratedIdSequence, configureId, dropColumnArg, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isNestedSavePointsSupported, isOffsetSqlSupported, isSelectSequenceBeforeInsert, 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, appendEscapedEntityName, appendEscapedWord, appendSelectNextValFromSequence, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isNestedSavePointsSupported, isOffsetSqlSupported, isSelectSequenceBeforeInsert, isVarcharFieldWidthSupported, loadDriver, setDriver |
Constructor Detail |
---|
public H2DatabaseType()
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 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 appendLimitValue(StringBuilder sb, long limit, Long offset)
appendLimitValue
in interface com.j256.ormlite.db.DatabaseType
appendLimitValue
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isOffsetLimitArgument()
isOffsetLimitArgument
in interface com.j256.ormlite.db.DatabaseType
isOffsetLimitArgument
in class com.j256.ormlite.db.BaseDatabaseType
public void appendOffsetValue(StringBuilder sb, long offset)
appendOffsetValue
in interface com.j256.ormlite.db.DatabaseType
appendOffsetValue
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |