Uses of Class
com.db4o.ext.DatabaseClosedException
-
Packages that use DatabaseClosedException Package Description com.db4o com.db4o.cs.internal com.db4o.ext com.db4o.internal -
-
Uses of DatabaseClosedException in com.db4o
Methods in com.db4o that throw DatabaseClosedException Modifier and Type Method Description void
ObjectContainer. activate(java.lang.Object obj, int depth)
Activates all members on a stored object to the specified depth.void
EmbeddedObjectContainer. backup(java.lang.String path)
Backs up a database file of an open ObjectContainer.void
ObjectContainer. commit()
Commits the running transaction.void
ObjectContainer. deactivate(java.lang.Object obj, int depth)
Deactivates a stored object by setting all members to null.void
ObjectContainer. delete(java.lang.Object obj)
Deletes a stored object permanently from the database.Query
ObjectContainer. query()
Creates a new S.O.D.A.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate)
Native Query Interface.
Make sure that you include the db4o-nqopt-java.jar and bloat.jar in your classpath when using native queries.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate, QueryComparator<TargetType> comparator)
Native Query Interface.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(Predicate<TargetType> predicate, java.util.Comparator<TargetType> comparator)
Native Query Interface.<TargetType>
ObjectSet<TargetType>ObjectContainer. query(java.lang.Class<TargetType> clazz)
Queries for all instances of a class.<T> ObjectSet<T>
ObjectContainer. queryByExample(java.lang.Object template)
Query-By-Example interface to retrieve objects.void
ObjectContainer. rollback()
Rolls back the running transaction.void
ObjectContainer. store(java.lang.Object obj)
Stores objects or updates stored objects. -
Uses of DatabaseClosedException in com.db4o.cs.internal
Methods in com.db4o.cs.internal that throw DatabaseClosedException Modifier and Type Method Description java.lang.Object
ClientObjectContainer. peekPersisted(Transaction trans, java.lang.Object obj, ActivationDepth depth, boolean committed)
-
Uses of DatabaseClosedException in com.db4o.ext
Methods in com.db4o.ext that throw DatabaseClosedException Modifier and Type Method Description void
ExtObjectContainer. activate(java.lang.Object obj)
activates an object with the current activation strategy.void
ExtObjectContainer. backup(Storage targetStorage, java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backup(java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. backupSync(java.lang.String path)
backs up a database file of an open ObjectContainer.void
ExtObjectContainer. bind(java.lang.Object obj, long id)
binds an object to an internal object ID.<T> T
ExtObjectContainer. getByID(long ID)
returns the stored object for an internal ID.<T> T
ExtObjectContainer. getByUUID(Db4oUUID uuid)
returns a stored object for aDb4oUUID
.boolean
ExtObjectContainer. isStored(java.lang.Object obj)
tests if an object is stored in this ObjectContainer. -
Uses of DatabaseClosedException in com.db4o.internal
Methods in com.db4o.internal that throw DatabaseClosedException Modifier and Type Method Description void
ExternalObjectContainer. activate(java.lang.Object obj, int depth)
void
ObjectContainerSession. activate(java.lang.Object obj)
void
ObjectContainerSession. activate(java.lang.Object obj, int depth)
abstract void
ExternalObjectContainer. backup(Storage targetStorage, java.lang.String path)
void
IoAdaptedObjectContainer. backup(Storage targetStorage, java.lang.String path)
void
ObjectContainerBase. backup(java.lang.String path)
void
ObjectContainerSession. backup(Storage storage, java.lang.String path)
void
ObjectContainerSession. backup(java.lang.String path)
abstract void
ExternalObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
void
IoAdaptedObjectContainer. backupSync(Storage targetStorage, java.lang.String path)
void
ObjectContainerBase. backupSync(java.lang.String path)
void
ObjectContainerSession. backupSync(Storage storage, java.lang.String path)
void
ObjectContainerSession. backupSync(java.lang.String path)
void
ObjectContainerSession. bind(java.lang.Object obj, long id)
void
ObjectContainerBase. checkClosed()
void
ExternalObjectContainer. commit()
void
ObjectContainerBase. commit(Transaction trans)
void
ObjectContainerSession. commit()
void
ExternalObjectContainer. deactivate(java.lang.Object obj, int depth)
void
ObjectContainerBase. deactivate(Transaction trans, java.lang.Object obj, int depth)
void
ObjectContainerSession. deactivate(java.lang.Object obj)
void
ObjectContainerSession. deactivate(java.lang.Object obj, int depth)
void
ObjectContainerBase. delete(Transaction trans, java.lang.Object obj)
void
ObjectContainerSession. delete(java.lang.Object obj)
java.lang.Object
ExternalObjectContainer. getByID(long id)
java.lang.Object
ObjectContainerBase. getByID(Transaction ta, long id)
java.lang.Object
ObjectContainerSession. getByID(long id)
java.lang.Object
ObjectContainerSession. getByUUID(Db4oUUID uuid)
boolean
ObjectContainerSession. isStored(java.lang.Object obj)
java.lang.Object
ExternalObjectContainer. peekPersisted(java.lang.Object obj, int depth, boolean committed)
java.lang.Object
ObjectContainerBase. peekPersisted(Transaction trans, java.lang.Object obj, ActivationDepth depth, boolean committed)
Query
ObjectContainerSession. query()
ObjectSet
ObjectContainerSession. query(Predicate predicate)
<T> ObjectSet<T>
ObjectContainerSession. query(Predicate<T> predicate, QueryComparator<T> comparator)
ObjectSet
ObjectContainerSession. query(Predicate predicate, java.util.Comparator comparator)
ObjectSet
ObjectContainerSession. query(java.lang.Class clazz)
ObjectSet
ExternalObjectContainer. queryByExample(java.lang.Object template)
ObjectSet
ObjectContainerSession. queryByExample(java.lang.Object template)
void
ObjectContainerSession. rollback()
void
ExternalObjectContainer. store(java.lang.Object obj)
void
ExternalObjectContainer. store(java.lang.Object obj, int depth)
void
ObjectContainerBase. store(Transaction trans, java.lang.Object obj)
int
ObjectContainerBase. store(Transaction trans, java.lang.Object obj, UpdateDepth depth)
void
ObjectContainerSession. store(java.lang.Object obj)
int
ObjectContainerBase. storeInternal(Transaction trans, java.lang.Object obj, boolean checkJustSet)
int
ObjectContainerBase. storeInternal(Transaction trans, java.lang.Object obj, UpdateDepth depth, boolean checkJustSet)
int
TransportObjectContainer. storeInternal(Transaction trans, java.lang.Object obj, UpdateDepth depth, boolean checkJustSet)
java.lang.Object
ObjectContainerBase. tryGetByID(Transaction ta, long id)
-