biz.hammurapi.sql.hypersonic
Class HypersonicStandaloneDataSource
java.lang.Object
biz.hammurapi.sql.ConnectionPerThreadDataSource
biz.hammurapi.sql.hypersonic.HypersonicDataSource
biz.hammurapi.sql.hypersonic.HypersonicStandaloneDataSource
- All Implemented Interfaces:
- javax.sql.DataSource
public class HypersonicStandaloneDataSource
- extends HypersonicDataSource
Hypersonic standalone data source.
- Version:
- $Revision: 1.5 $
- Author:
- Pavel Vlasov
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HypersonicStandaloneDataSource
public HypersonicStandaloneDataSource(java.lang.String dbName,
Transaction databaseInitTransaction)
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Constructor. Uses "sa" as user name and blank password. Creates a database if one doesn't exist.
- Parameters:
dbName
- - Database name. E.g. C:\myproject\myDB.
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
HypersonicStandaloneDataSource
public HypersonicStandaloneDataSource(java.lang.String dbName,
java.lang.String user,
java.lang.String password,
Transaction databaseInitTransaction,
Transaction connectionInitTransaction)
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Constructor. Creates a database if one doesn't exist.
- Parameters:
dbName
- - Database name. E.g. C:\myproject\myDB.initTransaction
- - Transaction to initialize database if it doesn't exist
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
Copyright © 2003 Hammurapi Group. All Rights Reserved.