orcl
Class OrclInfo

java.lang.Object
  extended by orcl.OrclInfo

public class OrclInfo
extends java.lang.Object

This Class get information about oracle using it's meta data


Constructor Summary
OrclInfo()
          connect
 
Method Summary
 boolean getCheckConnection()
           
 java.lang.String getConnectionUrl()
           
 java.lang.String getOracleDriverName()
           
 java.lang.String getOracleDriverVersion()
           
 java.lang.String getProductVersion()
           
 void setCheckConnection(boolean check)
          set check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrclInfo

public OrclInfo()
         throws java.lang.ClassNotFoundException
connect

Throws:
java.lang.ClassNotFoundException - error in class
Method Detail

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