|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.services.jdbc.JDBCServicesAdministrator
The JDBCServicesAdministrator class
| Field Summary | |
static java.lang.String |
COMPID
Keeps the component identification that will be used by the traces tool. |
protected static java.sql.Connection |
databaseConnection
Keeps the connection to the database that will be used by the JDBCServicesAdministrator. |
| Constructor Summary | |
JDBCServicesAdministrator()
* This constructor creates a JDBCServicesAdministrator object. |
|
| Method Summary | |
void |
connect(java.lang.String aDatabaseURL)
Connects to the database with URL aDatabaseURL. |
void |
connect(java.lang.String aDatabaseURL,
java.lang.String aUser,
java.lang.String aPassword)
Connects to the database with the URL aDatabaseURL, user identification aUser, and password aPassword. |
void |
disconnect()
Closes the Database connection. |
static void |
dropProcedure(java.lang.String aProcedureName)
Drops the stored procedure given by aProcedureName. |
protected static StoredProcMetaData |
getProcedureMetaData(java.lang.String procedureName)
Obtains the metadata of a specific procedure either from the storedProcsMetaData hashtable (if it is already there) or from the database. |
protected static boolean |
isRegistered(java.lang.String aProcedureName)
Checks if a stored procedure with a specific name is already registered in the database |
protected static boolean |
isRegistered(java.lang.String schemaName,
java.lang.String procName)
Checks if a stored procedure with a specific name is already registered in the database |
static void |
registerProcedure(java.lang.String aStoredProcedure)
Registers a stored procedure given its SQL definition. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static java.sql.Connection databaseConnection
public static final java.lang.String COMPID
| Constructor Detail |
public JDBCServicesAdministrator()
| Method Detail |
public void connect(java.lang.String aDatabaseURL)
throws DSEInternalErrorException,
DSEInvalidRequestException,
DSESQLException
aDatabaseURL - java.lang.String, the database URL
public void connect(java.lang.String aDatabaseURL,
java.lang.String aUser,
java.lang.String aPassword)
throws DSESQLException,
DSEInvalidRequestException,
DSEInternalErrorException
aDatabaseURL - java.lang.String, the database URLaUser - java.lang.String, the user identificationaPassword - java.lang.String, the user password
public void disconnect()
throws DSESQLException
public static void dropProcedure(java.lang.String aProcedureName)
throws DSESQLException,
DSEInvalidRequestException,
DSEInternalErrorException
aProcedureName - java.lang.String
protected static StoredProcMetaData getProcedureMetaData(java.lang.String procedureName)
throws DSESQLException
procedureName - java.lang.String
protected static boolean isRegistered(java.lang.String aProcedureName)
throws DSEInternalErrorException
procedureName - java.lang.String
protected static boolean isRegistered(java.lang.String schemaName,
java.lang.String procName)
throws DSEInternalErrorException
schemaName - java.lang.StringprocName - java.lang.String
public static void registerProcedure(java.lang.String aStoredProcedure)
throws DSESQLException,
DSEInvalidRequestException,
DSEInternalErrorException
aStoredProcedure - java.lang.String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||