biz.hammurapi.sql.hypersonic
Class HypersonicDataSource
java.lang.Object
biz.hammurapi.sql.ConnectionPerThreadDataSource
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
Method Summary |
void |
initDB(java.io.Reader scriptReader,
Context nameMap)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.