|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enableit.db.AbstractDBUtility
Base class for utilities that need to connect to database.
Field Summary | |
protected java.lang.String |
driver
The JDBC driver's class name. |
protected java.lang.String |
password
Password to use when connecting to the database. |
protected java.lang.String |
url
The database URL to connect to. |
protected java.lang.String |
userid
Username to use when connecting to the database. |
Constructor Summary | |
AbstractDBUtility()
Default Constructor. |
Method Summary | |
void |
setConnectionProperties(java.lang.String driver,
java.lang.String url,
java.lang.String userid,
java.lang.String password)
Export the schema identified by the provided connection parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String driver
protected java.lang.String url
protected java.lang.String userid
protected java.lang.String password
Constructor Detail |
public AbstractDBUtility()
Method Detail |
public void setConnectionProperties(java.lang.String driver, java.lang.String url, java.lang.String userid, java.lang.String password)
driver
- Name of JDBC driver class.url
- The JDBC datasource's URL.userid
- The user id to connect with.password
- The password to connect with.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |