biz.hammurapi.sql.hypersonic
Class HypersonicTmpDataSource

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

public class HypersonicTmpDataSource
extends HypersonicDataSource

Hypersonic temporary data source. It is similar to standalone datasource, but data files are created in system temporary directory and are scheduled to deletion on JVM exit. Use this datasource if you need to keep large amount of temporary data, for example data pumping applications can benefit from such data source.

Version:
$Revision: 1.6 $
Author:
Pavel Vlasov

Constructor Summary
HypersonicTmpDataSource(java.io.Reader scriptReader)
           
HypersonicTmpDataSource(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

HypersonicTmpDataSource

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

HypersonicTmpDataSource

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


Copyright © 2003 Hammurapi Group. All Rights Reserved.