|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.handler.util.DatabaseType
public class DatabaseType
Utility class to determine what database we are dealing with.
| Field Summary | |
|---|---|
static int |
ACCESS
Ms Access database. |
static int |
DB2
IBM DB2 database. |
static int |
INFORMIX_DS
Informix database on Dynamic Server (with text fields). |
static int |
INFORMIX_SE
Informix database on SE server (without text fields). |
static int |
MSSQL
MS-Sql database. |
static int |
MYSQL
MySQL database. |
static int |
ORACLE
Oracle database. |
static int |
SOLID
Solid database. |
static int |
SYBASE
Sybase database. |
| Method Summary | |
|---|---|
static int |
getDatabaseTypeId(java.sql.Connection c)
|
static int |
getDatabaseTypeId(java.lang.String productName)
Calculates the internal database type representation accoording to the passed productName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SOLID
public static final int INFORMIX_SE
public static final int INFORMIX_DS
public static final int ORACLE
public static final int ACCESS
public static final int SYBASE
public static final int DB2
public static final int MSSQL
public static final int MYSQL
| Method Detail |
|---|
public static int getDatabaseTypeId(java.lang.String productName)
productName - String containing the database metadata productname.
public static int getDatabaseTypeId(java.sql.Connection c)
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||