biz.hammurapi.sql.hsqldb
Class HsqldbInMemoryDataSource

java.lang.Object
  extended by biz.hammurapi.sql.ConnectionPerThreadDataSource
      extended by biz.hammurapi.sql.hsqldb.HsqldbDataSource
          extended by 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

Constructor Summary
HsqldbInMemoryDataSource(java.io.Reader scriptReader)
           
HsqldbInMemoryDataSource(java.lang.String initScript)
           
 
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

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.