org.exolab.castor.jdo.engine
public class DatabaseImpl extends Object implements Database, Synchronization
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:16 $
| Field Summary | |
|---|---|
| protected TransactionContext | _ctx
The transaction context is this database was accessed with an
javax.transaction.xa.XAResource. |
| protected PersistenceInfoGroup | _scope
The database engine used to access the underlying SQL database. |
| Constructor Summary | |
|---|---|
| DatabaseImpl(String dbName, int lockTimeout, LogInterceptor logInterceptor, CallbackInterceptor callback, InstanceFactory instanceFactory, Transaction transaction, ClassLoader classLoader, boolean autoStore) | |
| Method Summary | |
|---|---|
| void | afterCompletion(int status) |
| void | beforeCompletion() |
| void | begin() |
| void | checkpoint() |
| void | close() |
| void | commit() |
| void | create(Object object) |
| void | deletePersistent(Object object) |
| protected void | finalize() |
| ClassLoader | getClassLoader()
Gets the current application ClassLoader's instance.
|
| Object | getConnection()
Get the underlying JDBC Connection.
|
| String | getDatabaseName() }
Return the name of the database |
| Object | getIdentity(Object object) |
| LockEngine | getLockEngine() |
| OQLQuery | getOQLQuery() |
| OQLQuery | getOQLQuery(String oql) |
| Query | getQuery() |
| PersistenceInfoGroup | getScope() |
| protected TransactionContext | getTransaction() |
| boolean | isActive() |
| boolean | isAutoStore() |
| boolean | isClosed() |
| boolean | isPersistent(Object object) |
| Object | load(Class type, Object identity, Object object) |
| Object | load(Class type, Complex identity) |
| Object | load(Class type, Object identity) |
| Object | load(Class type, Complex identity, short accessMode) |
| Object | load(Class type, Object identity, short accessMode) |
| void | lock(Object object) |
| void | makePersistent(Object object) |
| void | remove(Object object) |
| void | rollback() |
| void | setAutoStore(boolean autoStore) |
| void | setTxMap(TxDatabaseMap txMap) |
| String | toString() |
| void | update(Object object) |
Deprecated: Use DatabaseImpl and DatabaseImpl instead
Deprecated:
Returns: the current ClassLoader's instance, or null if not provided
Deprecated: