|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.util.database.DBServer | +--openfuture.util.database.MySqlServer
Database driver for MySQL.
Created: Tue Mar 13 06:34:20 2001
Fields inherited from class openfuture.util.database.DBServer |
AUTO_INCREMENT, BLOB, LAST_INSERT_ID, usertables |
Constructor Summary | |
MySqlServer()
|
Method Summary | |
void |
init(java.lang.String url,
java.lang.String userid,
java.lang.String password)
Initialize the database pointed at by url for the given database driver |
Methods inherited from class openfuture.util.database.DBServer |
closeConnection, closeStatement, commitTransaction, executeIndexedQuery, getConnection, getPassword, getUrl, getUser, init, openTransaction, rollbackTransaction, setPassword, setUrl, setUser, sqlTranslate, tableExists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MySqlServer()
Method Detail |
public void init(java.lang.String url, java.lang.String userid, java.lang.String password) throws I18NException
init
in class DBServer
url
- URL of the database. The URL must be of the
form "jdbc:<database type>:<position>"userid
- database user ID for the database connectionpassword
- database user password for the database connectionI18NException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |