biz.hammurapi.sql.hsqldb
Class HsqldbServerDataSource
java.lang.Object
biz.hammurapi.sql.ConnectionPerThreadDataSource
biz.hammurapi.sql.hsqldb.HsqldbDataSource
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 |
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 |
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:3000initConnectionTransaction
-
- 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:3000user
- User namepassword
- PasswordinitConnectionTransaction
-
- Throws:
java.lang.ClassNotFoundException
Copyright © 2003 Hammurapi Group. All Rights Reserved.