orcl
Class OrclInfo
java.lang.Object
orcl.OrclInfo
public class OrclInfo
- extends java.lang.Object
This Class get information about oracle using it's meta data
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrclInfo
public OrclInfo()
throws java.lang.ClassNotFoundException
- connect
- Throws:
java.lang.ClassNotFoundException - error in class
setCheckConnection
public void setCheckConnection(boolean check)
- set check
- Parameters:
check - is there a connection with database
getCheckConnection
public boolean getCheckConnection()
- Returns:
- value of check connection
getProductVersion
public java.lang.String getProductVersion()
throws java.sql.SQLException
- Returns:
- oracle version
- Throws:
java.sql.SQLException - error in SQL
getOracleDriverName
public java.lang.String getOracleDriverName()
throws java.sql.SQLException
- Returns:
- info about oracle driver
- Throws:
java.sql.SQLException - error in SQL
getOracleDriverVersion
public java.lang.String getOracleDriverVersion()
throws java.sql.SQLException
- Returns:
- oracle version
- Throws:
java.sql.SQLException - error in SQL
getConnectionUrl
public java.lang.String getConnectionUrl()
throws java.sql.SQLException
- Returns:
- database URL
- Throws:
java.sql.SQLException - error in SQL