| java.lang.Object org.objectweb.jonas.jtests.util.Env
Env | public class Env (Code) | | Utility class about the environment.
author: Helene Joanin |
DB_DB2 | final public static int DB_DB2(Code) | | |
DB_MYSQL | final public static int DB_MYSQL(Code) | | |
DB_ORACLE | final public static int DB_ORACLE(Code) | | |
DB_POSGRESQL | final public static int DB_POSGRESQL(Code) | | |
DB_UNKNOWN | final public static int DB_UNKNOWN(Code) | | |
JAVA_1_3 | final public static int JAVA_1_3(Code) | | |
JAVA_1_4 | final public static int JAVA_1_4(Code) | | |
getDatabaseType | public static int getDatabaseType(Connection c) throws SQLException(Code) | | Get the type of a Database
Parameters: connection - to the databse the type DB_ORACLE, DB_POSGRESQL, DB_DB2, DB_MYSQL or DB_UNKNOWN if unknown |
getJavaVersion | public static int getJavaVersion()(Code) | | Gets Java Version.
javaVersion or -1 if error |
isJAVA4 | public static boolean isJAVA4()(Code) | | return true if JDK 1.4 or later
|
|
|