biz.hammurapi.sql.hypersonic
Class HypersonicDataSource

java.lang.Object
  extended by biz.hammurapi.sql.ConnectionPerThreadDataSource
      extended by biz.hammurapi.sql.hypersonic.HypersonicDataSource
All Implemented Interfaces:
javax.sql.DataSource
Direct Known Subclasses:
HypersonicInMemoryDataSource, HypersonicServerDataSource, HypersonicStandaloneDataSource, HypersonicTmpDataSource

public class HypersonicDataSource
extends ConnectionPerThreadDataSource

Base class for HyperSonic data sources

Version:
$Revision: 1.4 $
Author:
Pavel Vlasov

Constructor Summary
HypersonicDataSource(java.lang.String dbURL, java.lang.String user, java.lang.String password, Transaction initConnectionTransaction)
           
 
Method Summary
 void initDB(java.io.Reader scriptReader, Context nameMap)
           
 
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

HypersonicDataSource

public HypersonicDataSource(java.lang.String dbURL,
                            java.lang.String user,
                            java.lang.String password,
                            Transaction initConnectionTransaction)
                     throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

initDB

public void initDB(java.io.Reader scriptReader,
                   Context nameMap)
            throws java.sql.SQLException,
                   java.io.IOException
Parameters:
scriptName - Fully qualified name of a script to execute. E.g. org/hammurapi/results/persistent/jdbc/Hammurapi.Hypersonic.sql
Throws:
java.sql.SQLException
java.io.IOException


Copyright © 2003 Hammurapi Group. All Rights Reserved.