biz.hammurapi.sql.hsqldb
Class HsqldbInMemoryDataSource
java.lang.Object
biz.hammurapi.sql.ConnectionPerThreadDataSource
biz.hammurapi.sql.hsqldb.HsqldbDataSource
biz.hammurapi.sql.hsqldb.HsqldbInMemoryDataSource
- All Implemented Interfaces:
- Component, javax.sql.DataSource
public class HsqldbInMemoryDataSource
- extends HsqldbDataSource
In memory Hypersonic datasource with unique name.
- Version:
- $Revision: 1.4 $
- Author:
- Pavel Vlasov
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 |
HsqldbInMemoryDataSource
public HsqldbInMemoryDataSource(java.lang.String initScript)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
- Parameters:
initScript
- Fully qualified name of database initialization script to be loaded by
classloader. Can be null.
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
HsqldbInMemoryDataSource
public HsqldbInMemoryDataSource(java.io.Reader scriptReader)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
- Parameters:
initScript
- Fully qualified name of database initialization script to be loaded by
classloader. Can be null.
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
Copyright © 2003 Hammurapi Group. All Rights Reserved.