com.jdbwc.core
Class WCConnectionInfo
java.lang.Object
com.jdbwc.core.WCConnectionTransaction
com.jdbwc.core.WCConnectionInfo
- Direct Known Subclasses:
- WCConnection
public abstract class WCConnectionInfo
- extends WCConnectionTransaction
Methods inherited from class com.jdbwc.core.WCConnectionTransaction |
commit, getTransactionIsolation, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setSavepoint, setSavepoint, setTransactionIsolation, setTransConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myActiveDatabase
protected transient java.lang.String myActiveDatabase
myDatabaseVersion
protected transient java.lang.String myDatabaseVersion
myScriptingVersion
protected transient java.lang.String myScriptingVersion
myJDBWCScriptVersion
protected transient java.lang.String myJDBWCScriptVersion
myTimeZone
protected transient java.lang.String myTimeZone
myServerProtocol
protected transient java.lang.String myServerProtocol
myDbType
protected transient int myDbType
- The Database type this class is designed to work with
myDBName
protected transient java.lang.String myDBName
myDBVersion
protected transient java.lang.String myDBVersion
myCaseSensitivity
protected transient int myCaseSensitivity
- -1 = lowercase, 0 = mixed-case, 1 = uppercase
WCConnectionInfo
protected WCConnectionInfo()
getDatabaseInfo
protected void getDatabaseInfo()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseMicroVersion
protected int getDatabaseMicroVersion()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getCaseSensitivity
public int getCaseSensitivity()
- Returns:
- int. One of:
- -1 = lowercase
- 0 = mixed-case
- 1 = uppercase
getDatabase
public java.lang.String getDatabase()
getDatabaseMajorVersion
public int getDatabaseMajorVersion()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseMinorVersion
public int getDatabaseMinorVersion()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseProductName
public java.lang.String getDatabaseProductName()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseProductVersion
public java.lang.String getDatabaseProductVersion()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDbType
public int getDbType()
getDriverMajorVersion
public int getDriverMajorVersion()
getDriverMinorVersion
public int getDriverMinorVersion()
getDriverName
public java.lang.String getDriverName()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDriverVersion
public java.lang.String getDriverVersion()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getVersion
public java.lang.String getVersion(int versionType)
- Parameters:
versionType
- - int, can be 0 (ALL), 1 (database), 2 (scripting engine) or 3 (jdbwc script bundle)
- Returns:
- The requested version String.
versionMeetsMinimum
public boolean versionMeetsMinimum(int majorVersion,
int minorVersion,
int microVersion)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getMyTimeZone
protected java.util.TimeZone getMyTimeZone()
- Returns:
- the myTimeZone