biz.hammurapi.sql.hsqldb
Class HsqldbServerDataSource

java.lang.Object
  extended by biz.hammurapi.sql.ConnectionPerThreadDataSource
      extended by biz.hammurapi.sql.hsqldb.HsqldbDataSource
          extended by biz.hammurapi.sql.hsqldb.HsqldbServerDataSource
All Implemented Interfaces:
Component, javax.sql.DataSource

public class HsqldbServerDataSource
extends HsqldbDataSource

Hypersonic server data source.

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Constructor Summary
HsqldbServerDataSource(java.lang.String host, java.lang.String user, java.lang.String password, Transaction initConnectionTransaction)
          Connects to remote host specified by host parameter.
HsqldbServerDataSource(java.lang.String host, Transaction initConnectionTransaction)
          Connects to remote host specified by host parameter with user "sa" and blank password
HsqldbServerDataSource(Transaction initConnectionTransaction)
          Constructs server data source, which connects to localhost with user "sa" and blank password
 
Method Summary
 
Methods inherited from class biz.hammurapi.sql.hsqldb.HsqldbDataSource
initDB
 
Methods inherited from class biz.hammurapi.sql.ConnectionPerThreadDataSource
finalize, getConnection, getConnection, getInitConnectionTransaction, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter, setOwner, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqldbServerDataSource

public HsqldbServerDataSource(Transaction initConnectionTransaction)
                       throws java.lang.ClassNotFoundException
Constructs server data source, which connects to localhost with user "sa" and blank password

Parameters:
initConnectionTransaction -
Throws:
java.lang.ClassNotFoundException

HsqldbServerDataSource

public HsqldbServerDataSource(java.lang.String host,
                              Transaction initConnectionTransaction)
                       throws java.lang.ClassNotFoundException
Connects to remote host specified by host parameter with user "sa" and blank password

Parameters:
host - Host string. E.g. 3.111.12.14:3000
initConnectionTransaction -
Throws:
java.lang.ClassNotFoundException

HsqldbServerDataSource

public HsqldbServerDataSource(java.lang.String host,
                              java.lang.String user,
                              java.lang.String password,
                              Transaction initConnectionTransaction)
                       throws java.lang.ClassNotFoundException
Connects to remote host specified by host parameter.

Parameters:
host - Host string. E.g. 3.111.12.14:3000
user - User name
password - Password
initConnectionTransaction -
Throws:
java.lang.ClassNotFoundException


Copyright © 2003 Hammurapi Group. All Rights Reserved.