biz.hammurapi.sql.hypersonic
Class HypersonicInMemoryDataSource

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

public class HypersonicInMemoryDataSource
extends HypersonicDataSource

In memory Hypersonic datasource with unique name.

Version:
$Revision: 1.4 $
Author:
Pavel Vlasov

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

HypersonicInMemoryDataSource

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

HypersonicInMemoryDataSource

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