|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.db.Database
public class Database
General Database Constants and Utilities
| Field Summary | |
|---|---|
static int |
CONNECTION_TIMEOUT
Connection Timeout in seconds |
protected static Class[] |
DB_CLASSES
Database Classes |
static String[] |
DB_NAMES
Supported Databases |
static String |
DB_ORACLE
Oracle ID |
static String |
DB_POSTGRESQL
PostgreSQL ID |
| Constructor Summary | |
|---|---|
Database()
|
|
| Method Summary | |
|---|---|
static AdempiereDatabase |
getDatabase(String type)
Get Database by database Id. |
static AdempiereDatabase |
getDatabaseFromURL(String url)
Get Database Driver by url string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String DB_ORACLE
public static String DB_POSTGRESQL
public static String[] DB_NAMES
protected static Class[] DB_CLASSES
public static int CONNECTION_TIMEOUT
| Constructor Detail |
|---|
public Database()
| Method Detail |
|---|
public static AdempiereDatabase getDatabase(String type)
throws Exception
Exceptionpublic static AdempiereDatabase getDatabaseFromURL(String url)
URL - JDBC connection url
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||