public interface Implementation
Modifier and Type | Method and Description |
---|---|
Transaction |
currentTransaction()
Get the current
Transaction for the thread. |
Database |
getDatabase(java.lang.Object obj)
Get the
Database that contains the object obj . |
java.lang.String |
getObjectId(java.lang.Object obj)
Get a
String representation of the object's identifier. |
DArray |
newDArray()
Create a new
DArray object. |
Database |
newDatabase()
Create a new
Database 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()
Create a
Transaction object and associate it with the current thread. |
Transaction newTransaction()
Transaction
object and associate it with the current thread.Transaction
instance.Transaction
Transaction currentTransaction()
Transaction
for the thread.Transaction
object or null if there is none.Transaction
Database newDatabase()
Database
object.Database
object.Database
EnhancedOQLQuery newOQLQuery()
OQLQuery
object.OQLQuery
object.OQLQuery
DArray newDArray()
DArray
object.DArray
object.DArray
java.lang.String getObjectId(java.lang.Object obj)
String
representation of the object's identifier.obj
- The object whose identifier is being accessed.Database getDatabase(java.lang.Object obj)
Database
that contains the object obj
.obj
- The object.Database
that contains the object.(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