Package com.nt.udc.db
Class DBAccess
java.lang.Object
com.nt.udc.db.DBAccess
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Connection
static final String
static final int
protected int
protected Statement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
handleSQLException
(String new_mess, SQLException ex) void
void
void
void
-
Field Details
-
ORACLE
public static final int ORACLE- See Also:
-
DEFAULTPORT
- See Also:
-
rdbms
protected int rdbms -
conn
-
stmt
-
-
Constructor Details
-
DBAccess
- Throws:
OSASQLException
-
DBAccess
- Throws:
OSASQLException
-
-
Method Details
-
open
- Throws:
OSASQLException
-
open
public void open(String dbIP, String dbPort, String dbSid, String dbServiceName, String userID, String passWD) throws OSASQLException - Throws:
OSASQLException
-
open
public void open(String dbIP, String dbSid, String dbServiceName, String userID, String passWD) throws OSASQLException - Throws:
OSASQLException
-
close
- Throws:
OSASQLException
-
handleSQLException
- Throws:
OSASQLException
-
handleSQLException
- Throws:
OSASQLException
-