Holger's
Java API

com.antelmann.sql
Class SQLDatabase

java.lang.Object
  extended by com.antelmann.mgmt.AbstractDatabase<Connection>
      extended by 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

Field Summary
 
Fields inherited from class com.antelmann.mgmt.AbstractDatabase
logWriter
 
Constructor Summary
SQLDatabase(Connection con, User user, LogWriter logWriter)
          the logWriter remains unchecked regarding access during a non-active transaction
 
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
 

Constructor Detail

SQLDatabase

public SQLDatabase(Connection con,
                   User user,
                   LogWriter logWriter)
the logWriter remains unchecked regarding access during a non-active transaction

Method Detail

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