|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SqlType>
com.partnersoft.sql.SqlType
public enum SqlType
Known (to Partner) database types. Includes information about which JDBC driver to use etc.
Copyright 2006 Partner Software, Inc.
| Enum Constant Summary | |
|---|---|
ACCESS
|
|
AS400
|
|
DERBY
|
|
HSQLDB
|
|
MYSQL
|
|
ODBC
|
|
ORACLE
|
|
OTHER
|
|
SQL_SERVER
|
|
| Method Summary | |
|---|---|
static SqlType |
forName(java.lang.String name)
Returns the instance of SqlType matching the given name. |
SqlDialect |
getDialect()
SqlDialect for this type. |
java.lang.String |
getDriver()
Full class name of the JDBC driver for this database type. |
java.lang.String |
getName()
Name of the database type. |
static SqlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SqlType[] |
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 SqlType ACCESS
public static final SqlType AS400
public static final SqlType DERBY
public static final SqlType HSQLDB
public static final SqlType MYSQL
public static final SqlType ODBC
public static final SqlType ORACLE
public static final SqlType SQL_SERVER
public static final SqlType OTHER
| Method Detail |
|---|
public static SqlType[] values()
for (SqlType c : SqlType.values()) System.out.println(c);
public static SqlType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static SqlType forName(java.lang.String name)
public java.lang.String getName()
SqlDatabase.
public java.lang.String getDriver()
public SqlDialect getDialect()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||