ObjectDB Database Search

51-100 of 130 results

Soft Reference Object Cache Recommendation

.deletePersisted(myObject) or PersistenceManagerFactory .close(). I inspect JavaVirtualVm memory ... PersistenceManagerFactory , there are PAGs remaining with a GC Root of "persistenceManager (java frame ... is, how can I have a single PersistenceManagerFactory , with a single PersistenceManager, retain

ODB-WeakRefPurger threads not closing at all

when a new PersistenceManagerFactory  (or EntityManagerFactory)  is created and exited when it is closed. Could you please verify that every  PersistenceManagerFactory instance that you open ... only PersistenceManager instances, not the  PersistenceManagerFactory instances. Should I

Unable to delete the .odb file programatically

the PersistenceManagerFactory as well to close the database file (and release the lock) . support Support I ... PersistanceManager from PersistanceFactory      PersistenceManagerFactory pmf = JDOHelper ... ;  PersistenceManagerFactory pmfactory = JDOHelper.getPersistenceManagerFactory(getProperties

Can I Disable the Creation of the "log" Directory?

.PersistenceManager; import javax.jdo. PersistenceManagerFactory ; import java.nio.file.Files; import java.nio.file ... ", "$objectdb/local.odb"); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); PersistenceManager persistenceManager = persistenceManagerFactory

PersistenceManagerFactory.getIgnoreCache() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory boolean getIgnoreCache () Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. Return: the default IngoreCache setting. Since: JDO 1.0

PersistenceManagerFactory.getDetachAllOnCommit() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory boolean getDetachAllOnCommit () Gets the detachAllOnCommit setting. Return: the default detachAllOnCommit setting. See Also: setDetachAllOnCommit Since: JDO 2.0

PersistenceManagerFactory.setDetachAllOnCommit(flag) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void setDetachAllOnCommit (   boolean flag ) Sets the default detachAllOnCommit setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default DetachAllOnCommit setting See Also: getDetachAllOnCommit () Since: JDO 2.0

PersistenceManagerFactory.getCopyOnAttach() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory boolean getCopyOnAttach () Gets the default copyOnAttach setting for all PersistenceManager instances obtained from this factory. Return: the copyOnAttach setting. See Also: setCopyOnAttach Since: JDO 2.1

PersistenceManagerFactory.setCopyOnAttach(flag) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void setCopyOnAttach (   boolean flag ) Sets the default copyOnAttach setting for all PersistenceManager instances obtained from this factory. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached

PersistenceManagerFactory.getReadOnly() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory boolean getReadOnly () Gets the value for read-only for this PMF. Indicates whether the datastore is read-only or writable. Return: the readOnly setting. See Also: setReadOnly Since: JDO 2.2

PersistenceManagerFactory.setReadOnly(flag) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void setReadOnly (   boolean flag ) Sets the value for whether the datastore is to be considered read-only. ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted

PersistenceManagerFactory.getTransactionIsolationLevel() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory String getTransactionIsolationLevel () Get the value for transaction isolation level for this PMF. Return: the transaction isolation level See Also: setTransactionIsolationLevel Since: JDO 2.2

PersistenceManagerFactory.setTransactionIsolationLevel(level) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void setTransactionIsolationLevel (   String level ) Set the value for transaction isolation level for this PMF. Transaction isolation levels are defined in javax.jdo.Constants. If the requested level is not available, but a higher

PersistenceManagerFactory.supportedOptions() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory Collection supportedOptions () The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation. Each supported JDO feature is represented by a String

PersistenceManagerFactory.getDataStoreCache() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory DataStoreCache getDataStoreCache () Return the DataStoreCache that this factory uses for controlling a second-level cache. If this factory does not use a second-level cache, the returned instance does nothing. This method never returns null . Return: the DataStoreCache Since: JDO 2.0

PersistenceManagerFactory.addFetchGroups(groups) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void addFetchGroups (   FetchGroup... groups ) Add the FetchGroup s to the set of active fetch groups. FetchGroup s are made unmodifiable before being added. FetchGroup s that match existing FetchGroup s replace the corresponding

PersistenceManagerFactory.removeFetchGroups(groups) - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void removeFetchGroups (   FetchGroup... groups ) Remove the FetchGroup s from the set of active FetchGroup s. Existing FetchGroup s that match parameter FetchGroup s are removed. Parameter FetchGroup s that do not match any existing

PersistenceManagerFactory.removeAllFetchGroups() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory void removeAllFetchGroups () Remove all FetchGroup s from the set of active FetchGroup s. All removed FetchGroup s become unscoped. The methods addFetchGroups , removeFetchGroups , getFetchGroups , and removeAllFetchGroups are internally serialized

PersistenceManagerFactory.getFetchGroups() - JDO Method

JDO Method in javax.jdo. PersistenceManagerFactory Set getFetchGroups () Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups. The methods addFetchGroups , removeFetchGroups , getFetchGroups , and removeAllFetchGroups are internally serialized. Return

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.

[ODB1] Chapter 2 - A Quick Tour

", "persons.odb"); 26 PersistenceManagerFactory pmf = 27 JDOHelper.getPersistenceManagerFactory(properties

javax.jdo.JDOHelper

a PersistenceManagerFactory via various methods. This helper class defines static methods that allow a JDO-aware ... . See Also: PersistenceCapable() Since: JDO 1.0 PersistenceManagerFactory getPersistenceManagerFactory () Get the anonymous PersistenceManagerFactory configured via the standard configuration file

javax.jdo.FetchGroup

this interface can be obtained from PersistenceManager.getFetchGroup or PersistenceManagerFactory ... the PersistenceManagerFactory scope). Unscoped FetchGroups do not affect any behavior. A FetchGroup in PersistenceManager scope hides the corresponding FetchGroup in the PersistenceManagerFactory scope

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory ... a PersistenceManagerFactory configured based on the properties stored in the resource at name , or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence

javax.jdo.PersistenceManager

the PersistenceManagerFactory (recommended) or by construction. Since: JDO 1.0 Public Methods void ... to their values as specified in the PersistenceManagerFactory . This method closes the PersistenceManager ... definition in the PersistenceManager or PersistenceManagerFactory . If the definition

javax.jdo.Constants

only. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel ... uncommitted data. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction ... the requirement to read the same data in the same transaction. See Also: PersistenceManagerFactory

JDOHelper.getPersistenceManagerFactory(props) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   Map props ) Get a PersistenceManagerFactory based on a Properties instance, using the current thread's context class loader to locate the PersistenceManagerFactory class. Parameters

JDOHelper.getPersistenceManagerFactory(props,pmfClassLoader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory ... ) Get a PersistenceManagerFactory based on a Map and a class loader. This method delegates ... parameter. Parameters: props - a Map with properties of the PersistenceManagerFactory . pmfClassLoader

JDOHelper.getPersistenceManagerFactory(propsFile,loader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory ... a PersistenceManagerFactory configured based on the properties stored in the file at propsFile . Creates a PersistenceManagerFactory with loader . Any IOException s or FileNotFoundException s thrown during resource

JDOHelper.getPersistenceManagerFactory(stream,loader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory ... a PersistenceManagerFactory configured based on the Properties stored in the input stream at stream . Creates a PersistenceManagerFactory with loader . Any IOException s thrown during resource loading

JDOHelper.getPersistenceManagerFactory() - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory () Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource ... the configuration file resource(s). Return: the anonymous PersistenceManagerFactory . See Also: getPersistenceManagerFactory Since: JDO 2.1

JDOHelper.getPersistenceManagerFactory(pmfClassLoader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   ClassLoader pmfClassLoader ) Get the anonymous PersistenceManagerFactory configured ... : the anonymous PersistenceManagerFactory . See Also: getPersistenceManagerFactory Since: JDO 2.1

JDOHelper.getPersistenceManagerFactory(propsFile) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   File propsFile ) Returns a PersistenceManagerFactory configured based ... : propsFile - the file containing the Properties Return: the PersistenceManagerFactory Since: JDO 2.0

JDOHelper.getPersistenceManagerFactory(stream) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   InputStream stream ) Returns a PersistenceManagerFactory configured based ... . Parameters: stream - the stream containing the Properties Return: the PersistenceManagerFactory Since: JDO 2.0

PersistenceManager.getPersistenceManagerFactory() - JDO Method

JDO Method in javax.jdo.PersistenceManager PersistenceManagerFactory getPersistenceManagerFactory () This method returns the PersistenceManagerFactory used to create this PersistenceManager . Return: the PersistenceManagerFactory that created this PersistenceManager Since: JDO 1.0

PersistenceManager.getFetchGroup(cls,name) - JDO Method

PersistenceManagerFactory . If the definition for the FetchGroup is not in scope in either the PersistenceManager or PersistenceManagerFactory , create it with no members. The FetchGroup immediately becomes active and in ... the PersistenceManagerFactory . Parameters: cls - the class or interface for the FetchGroup name - the name of the fetch group

JDOHelper.getPersistenceManagerFactory(name) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   String name ) Returns a named PersistenceManagerFactory or persistence unit. See Also: getPersistenceManagerFactory Since: JDO 2.1

JDOHelper.getPersistenceManagerFactory(name,loader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   String name,    ClassLoader loader ) Returns a named PersistenceManagerFactory or persistence unit. See Also: getPersistenceManagerFactory Since: JDO 1.0

JDOHelper.getPersistenceManagerFactory(name,resourceLoader,pmfLoader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   String name,    ClassLoader resourceLoader,    ClassLoader pmfLoader ) Returns a named PersistenceManagerFactory or persistence unit. See Also: getPersistenceManagerFactory Since: JDO 2.0

JDOHelper.getPersistenceManagerFactory(overrides,name) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   Map overrides,    String name ) Returns a named PersistenceManagerFactory or persistence unit. See Also: getPersistenceManagerFactory Since: JDO 2.1

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   Map overrides,    String name,    ClassLoader resourceLoader ) Returns a named PersistenceManagerFactory or persistence unit. See Also: getPersistenceManagerFactory Since: JDO 2.1

javax.jdo.spi.JDOPermission

This allows closing a PersistenceManagerFactory , thereby releasing resources. This is dangerous in that resources bound to the PersistenceManagerFactory would be releaseable by malicious code

javax.jdo.Constants.TX_READ_UNCOMMITTED

JDO Static Field in javax.jdo.Constants TX_READ_UNCOMMITTED Transaction isolation level representing the ability to read uncommitted data. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel () Since: JDO 2.2

javax.jdo.Constants.TX_READ_COMMITTED

JDO Static Field in javax.jdo.Constants TX_READ_COMMITTED Transaction isolation level representing the requirement to read committed data only. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel () Since: JDO 2.2

javax.jdo.Constants.TX_REPEATABLE_READ

JDO Static Field in javax.jdo.Constants TX_REPEATABLE_READ Transaction isolation level representing the requirement to read the same data in the same transaction. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel () Since: JDO 2.2

javax.jdo.Constants.TX_SNAPSHOT

JDO Static Field in javax.jdo.Constants TX_SNAPSHOT Transaction isolation level representing the requirement to keep a snapshot for reading data. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel () Since: JDO 2.2

javax.jdo.Constants.TX_SERIALIZABLE

JDO Static Field in javax.jdo.Constants TX_SERIALIZABLE Transaction isolation level representing the requirement to serialize transactions. See Also: PersistenceManagerFactory .getTransactionIsolationLevel () Transaction.getIsolationLevel () Since: JDO 2.2

PersistenceManager.close() - JDO Method

to their values as specified in the PersistenceManagerFactory . This method closes the PersistenceManager . Since: JDO 1.0

javax.jdo.Query

value for this option was set by the PersistenceManagerFactory or the PersistenceManager used to create

Query.setIgnoreCache(ignoreCache) - JDO Method

JDO Method in javax.jdo.Query void setIgnoreCache (   boolean ignoreCache ) Set the ignoreCache option. The default value for this option was set by the PersistenceManagerFactory or the PersistenceManager used to create this Query . The ignoreCache option setting specifies