|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DBType>
com.im.commons.db.DBType
public enum DBType
Enumeration of database platforms.
| Enum Constant Summary | |
|---|---|
COMPOSITE
Composite database, preferedFetchSize 500 is maximum that was working, 501 and higher were throwing exception, see FS#11576 |
|
DERBY
Derby database |
|
MYSQL
MySql database |
|
ORACLE
Oracle database |
|
| Method Summary | |
|---|---|
String |
getDisplayName()
Display name of the database |
int |
getMaxColumnNameLength()
|
int |
getMaxIndexNameLength()
|
int |
getMaxTableNameLength()
|
int |
getPreferedFetchSize()
Gets optimal fetch sizes for this DB type. |
String |
getType()
Get string representation of the database. |
static DBType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DBType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DBType DERBY
public static final DBType ORACLE
public static final DBType MYSQL
public static final DBType COMPOSITE
| Method Detail |
|---|
public static DBType[] values()
for (DBType c : DBType.values()) System.out.println(c);
public static DBType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getType()
public String getDisplayName()
public int getMaxTableNameLength()
public int getMaxColumnNameLength()
public int getMaxIndexNameLength()
public int getPreferedFetchSize()
|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||