|
||||||||||
| 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 the author if you'd like to help.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.j256.ormlite.db.BaseDatabaseType |
|---|
BaseDatabaseType.BooleanNumberFieldConverter |
| Field Summary |
|---|
| Fields inherited from class com.j256.ormlite.db.BaseDatabaseType |
|---|
booleanConverter |
| Constructor Summary | |
|---|---|
Db2DatabaseType()
|
|
| Method Summary | |
|---|---|
protected void |
appendBooleanType(StringBuilder sb)
Output the SQL type for a Java boolean. |
protected void |
appendByteType(StringBuilder sb)
Output the SQL type for a Java byte. |
void |
appendEscapedEntityName(StringBuilder sb,
String word)
Add a entity-name word to the string builder wrapped in the proper characters to escape it. |
protected void |
appendObjectType(StringBuilder sb)
Output the SQL type for a Java object. |
protected void |
configureGeneratedId(StringBuilder sb,
FieldType fieldType,
List<String> statementsBefore,
List<String> additionalArgs,
List<String> queriesAfter)
Output the SQL necessary to configure a generated-id column. |
String |
getDriverClassName()
Return the class name of the database driver. |
String |
getDriverUrlPart()
Return the part in the database URI which identifies the particular database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Db2DatabaseType()
| Method Detail |
|---|
public String getDriverUrlPart()
DatabaseType
getDriverUrlPart in interface DatabaseTypepublic String getDriverClassName()
DatabaseType
getDriverClassName in interface DatabaseTypeprotected void appendBooleanType(StringBuilder sb)
BaseDatabaseType
appendBooleanType in class BaseDatabaseTypeprotected void appendByteType(StringBuilder sb)
BaseDatabaseType
appendByteType in class BaseDatabaseTypeprotected void appendObjectType(StringBuilder sb)
BaseDatabaseType
appendObjectType in class BaseDatabaseType
protected void configureGeneratedId(StringBuilder sb,
FieldType fieldType,
List<String> statementsBefore,
List<String> additionalArgs,
List<String> queriesAfter)
BaseDatabaseType
configureGeneratedId in class BaseDatabaseType
public void appendEscapedEntityName(StringBuilder sb,
String word)
DatabaseType
appendEscapedEntityName in interface DatabaseTypeappendEscapedEntityName in class BaseDatabaseType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||