biz.hammurapi.sql.hsqldb
Class HsqldbTmpDataSource

java.lang.Object
  extended by biz.hammurapi.sql.ConnectionPerThreadDataSource
      extended by biz.hammurapi.sql.hsqldb.HsqldbDataSource
          extended by biz.hammurapi.sql.hsqldb.HsqldbTmpDataSource
All Implemented Interfaces:
Component, javax.sql.DataSource

public class HsqldbTmpDataSource
extends HsqldbDataSource

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
HsqldbTmpDataSource(java.io.Reader scriptReader)
           
HsqldbTmpDataSource(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

HsqldbTmpDataSource

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

HsqldbTmpDataSource

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