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)
|
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
conn
public static java.sql.Connection conn
DBConnect
public DBConnect(java.lang.String host,
int port,
java.lang.String sid,
java.lang.String user,
java.lang.String password)
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()