openfuture.util.database
Class MySqlServer

java.lang.Object
  |
  +--openfuture.util.database.DBServer
        |
        +--openfuture.util.database.MySqlServer

public class MySqlServer
extends DBServer

Database driver for MySQL.

Created: Tue Mar 13 06:34:20 2001

Version:
$Revision: 1.4 $
Author:
Wolfgang Reissenberger

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

MySqlServer

public MySqlServer()
Method Detail

init

public void init(java.lang.String url,
                 java.lang.String userid,
                 java.lang.String password)
          throws I18NException
Initialize the database pointed at by url for the given database driver
Overrides:
init in class DBServer
Parameters:
url - URL of the database. The URL must be of the form "jdbc:<database type>:<position>"
userid - database user ID for the database connection
password - database user password for the database connection
Throws:
I18NException - if an error occurs


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.