public class ImplementationJTAImpl extends ImplementationImpl
Implementation
interface for use in
managed enviroments.Modifier and Type | Method and Description |
---|---|
Transaction |
currentTransaction()
Get the current
Transaction for the thread. |
Database |
getDatabase(java.lang.Object obj)
Returns the current used database or null.
|
DArray |
newDArray()
Create a new
DArray object. |
DBag |
newDBag()
Create a new
DBag object. |
DList |
newDList()
Create a new
DList object. |
DMap |
newDMap()
Create a new
DMap object. |
DSet |
newDSet()
Create a new
DSet object. |
EnhancedOQLQuery |
newOQLQuery()
Create a new
OQLQuery object. |
Transaction |
newTransaction()
Not supported in managed-environment.
|
getConfigurator, getCurrentPBKey, getObjectId, getOqlCollectionClass, getTxManager, hasOpenTransaction, isImpliciteWriteLocks, isImplicitLocking, isOrdering, newDatabase, setConfigurator, setImpliciteWriteLocks, setImplicitLocking, setImplicitLockingBackward, setOqlCollectionClass, setOrdering, toString
public Database getDatabase(java.lang.Object obj)
ImplementationImpl
getDatabase
in interface Implementation
getDatabase
in class ImplementationImpl
obj
- The object.Database
that contains the object.public Transaction currentTransaction()
ImplementationImpl
Transaction
for the thread.currentTransaction
in interface Implementation
currentTransaction
in class ImplementationImpl
Transaction
object or null if there is none.Transaction
public EnhancedOQLQuery newOQLQuery()
ImplementationImpl
OQLQuery
object.newOQLQuery
in interface Implementation
newOQLQuery
in class ImplementationImpl
OQLQuery
object.OQLQuery
public DList newDList()
ImplementationImpl
DList
object.newDList
in interface Implementation
newDList
in class ImplementationImpl
DList
object.DList
public DBag newDBag()
ImplementationImpl
DBag
object.newDBag
in interface Implementation
newDBag
in class ImplementationImpl
DBag
object.DBag
public DSet newDSet()
ImplementationImpl
DSet
object.newDSet
in interface Implementation
newDSet
in class ImplementationImpl
DSet
object.DSet
public DArray newDArray()
ImplementationImpl
DArray
object.newDArray
in interface Implementation
newDArray
in class ImplementationImpl
DArray
object.DArray
public DMap newDMap()
ImplementationImpl
DMap
object.newDMap
in interface Implementation
newDMap
in class ImplementationImpl
DMap
object.DMap
public Transaction newTransaction()
newTransaction
in interface Implementation
newTransaction
in class ImplementationImpl
Transaction
instance.Transaction
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30