jdbc
Class MySQLDataSource

java.lang.Object
  |
  +--jdbc.DataSource
        |
        +--jdbc.MySQLDataSource

public class MySQLDataSource
extends DataSource


Field Summary
(package private)  java.lang.String host
           
 
Fields inherited from class jdbc.DataSource
connection, dbname, password, user
 
Constructor Summary
MySQLDataSource(java.lang.String dbname)
           
MySQLDataSource(java.lang.String dbname, java.lang.String user, java.lang.String password)
           
 
Method Summary
protected  java.sql.Connection initConnection()
           
 
Methods inherited from class jdbc.DataSource
createTable, deleteTable, getConnection, getName, resetConnection, select, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

java.lang.String host
Constructor Detail

MySQLDataSource

public MySQLDataSource(java.lang.String dbname)

MySQLDataSource

public MySQLDataSource(java.lang.String dbname,
                       java.lang.String user,
                       java.lang.String password)
Method Detail

initConnection

protected java.sql.Connection initConnection()
                                      throws java.sql.SQLException
Specified by:
initConnection in class DataSource
java.sql.SQLException