Class DBConnect

java.lang.Object
  |
  +--DBConnect

public class DBConnect
extends java.lang.Object

DBConnect stellt Datenbank-Connect zur Verfügung und enthält Methode zur 
Abfrage der Datenbank


Field Summary
static java.sql.Connection conn
           
 
Constructor Summary
DBConnect(java.lang.String host, int port, java.lang.String sid, java.lang.String user, java.lang.String password)
           
 
Method Summary
static void closeConnection()
           
static java.sql.ResultSet doSql(java.lang.String sqlStmt)
           
protected  void finalize()
           
 java.lang.String get_User()
           
 boolean isConnected()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

public static java.sql.Connection conn
Constructor Detail

DBConnect

public DBConnect(java.lang.String host,
                 int port,
                 java.lang.String sid,
                 java.lang.String user,
                 java.lang.String password)
Method Detail

isConnected

public boolean isConnected()

closeConnection

public static void closeConnection()

doSql

public static java.sql.ResultSet doSql(java.lang.String sqlStmt)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

get_User

public java.lang.String get_User()