com.antelmann.sql
Class SQLDatabase
java.lang.Object
com.antelmann.mgmt.AbstractDatabase<Connection>
com.antelmann.sql.SQLDatabase
- All Implemented Interfaces:
- Database<Connection>
public class SQLDatabase
- extends AbstractDatabase<Connection>
implements a database using a SQLTransaction instance based on a JDBC connection.
- Author:
- Holger Antelmann
- See Also:
SQLTransaction
|
Method Summary |
SQLTransaction |
getTransaction()
provides access to the DBTransaction, which coordinates all access to the Resources via DBClassStore |
| Methods inherited from class com.antelmann.mgmt.AbstractDatabase |
addListener, fetch, getAvailableClassStores, getClassStore, getDatabaseSerivce, getListeners, getLogger, getUser, putClassStore, remove, removeListener, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLDatabase
public SQLDatabase(Connection con,
User user,
LogWriter logWriter)
- the logWriter remains unchecked regarding access during a non-active transaction
getTransaction
public SQLTransaction getTransaction()
- Description copied from interface:
Database
- provides access to the DBTransaction, which coordinates all access to the Resources via DBClassStore
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads