Internal Website Search
51-100 of 129 resultsSoft 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.setRestoreValues(restoreValues) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setRestoreValues ( boolean restoreValues ) Set the default value for the RestoreValues property. If true , at rollback, fields of newly persistent instances are restored to their values as of the beginning of the transaction | |
PersistenceManagerFactory.setRetainValues(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setRetainValues ( boolean flag ) Set the default RetainValues setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default RetainValues setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getRetainValues() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getRetainValues () Get the default RetainValues setting for all PersistenceManager instances obtained from this factory. Return: the default RetainValues setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getMapping() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getMapping () Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Return: the Mapping setting. Since: JDO 1.0 | |
PersistenceManagerFactory.setMapping(mapping) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setMapping ( String mapping ) Set the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Parameters: mapping - the Mapping setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getOptimistic() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getOptimistic () Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. Return: the default Optimistic setting. Since: JDO 1.0 | |
PersistenceManagerFactory.setOptimistic(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setOptimistic ( boolean flag ) Set the default Optimistic setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default Optimistic setting. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionUserName(userName) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionUserName ( String userName ) Set the user name for the data store connection. Parameters: userName - the user name for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.getPersistenceManager(userid,password) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory PersistenceManager getPersistenceManager ( String userid, String password ) Get an instance of PersistenceManager from this factory. The instance has default values for options. The parameters userid | |
PersistenceManagerFactory.setConnectionPassword(password) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionPassword ( String password ) Set the password for the data store connection. Parameters: password - the password for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionUserName() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getConnectionUserName () Get the user name for the data store connection. Return: the user name for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.getPersistenceManager() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory PersistenceManager getPersistenceManager () Get an instance of PersistenceManager from this factory. The instance has default values for options. After the first use of getPersistenceManager , no "set" methods will succeed. Return: a PersistenceManager instance with default options. Since: JDO 1.0 | |
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.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.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"); 26 PersistenceManagerFactory pmf = 27 JDOHelper.getPersistenceManagerFactory(properties); 28 | |
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 | |
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 | |
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(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 | |
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 | |
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 | |
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() - 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(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 | |
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 | |
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 | |
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(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,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 | |
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) - 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 | |
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 | |
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 | |
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_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_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 | |
PersistenceManager.close() - JDO Method to their values as specified in the PersistenceManagerFactory . This method closes the PersistenceManager . Since: JDO 1.0 |