db4o

ObjectContainer Methods

The methods of the ObjectContainer interface are listed below. For a complete list of ObjectContainer interface members, see the ObjectContainer Members topic.

Public Instance Methods

activate activates all members on a stored object to the specified depth.
close closes the
ObjectContainer
.
commit commits the running transaction.
deactivate deactivates a stored object by setting all members to
NULL
.
delete deletes a stored object permanently.
ext returns an ObjectContainer with extended functionality.
get Query-By-Example interface to retrieve objects.
query Overloaded. factory method to create a new Query object.

Use get for simple Query-By-Example.

rollback rolls back the running transaction.
set newly stores objects or updates stored objects.

See Also

ObjectContainer Interface | com.db4o Namespace | ExtObjectContainer for extended functionality.