biz.hammurapi.sql.hypersonic
Class HypersonicServerDataSource

java.lang.Object
  extended by biz.hammurapi.sql.ConnectionPerThreadDataSource
      extended by biz.hammurapi.sql.hypersonic.HypersonicDataSource
          extended by biz.hammurapi.sql.hypersonic.HypersonicServerDataSource
All Implemented Interfaces:
javax.sql.DataSource

public class HypersonicServerDataSource
extends HypersonicDataSource

Hypersonic server data source.

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Constructor Summary
HypersonicServerDataSource(java.lang.String host, java.lang.String user, java.lang.String password, Transaction initConnectionTransaction)
          Connects to remote host specified by host parameter.
HypersonicServerDataSource(java.lang.String host, Transaction initConnectionTransaction)
          Connects to remote host specified by host parameter with user "sa" and blank password
HypersonicServerDataSource(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.hypersonic.HypersonicDataSource
initDB
 
Methods inherited from class biz.hammurapi.sql.ConnectionPerThreadDataSource
finalize, getConnection, getConnection, getInitConnectionTransaction, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HypersonicServerDataSource

public HypersonicServerDataSource(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

HypersonicServerDataSource

public HypersonicServerDataSource(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

HypersonicServerDataSource

public HypersonicServerDataSource(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.