Internal Website Search
1-50 of 129 results[ODB1] Chapter 5 - JDO Connections The PersistenceManagerFactory interface represents a factory of database connections. Its main ... ( Chapter 6 ). 5.1 javax.jdo. PersistenceManagerFactory Most applications require multiple ... . PersistenceManagerFactory interface. A PersistenceManagerFactory instance represents a specific database | |
[ODB1] Chapter 8 - ObjectDB Server. If the PersistenceManagerFactory is initialized using a property file, two lines should be added to specify the path ... .objectdb.ssl.truststore.password=ts-pwd Alternatively, the PersistenceManagerFactory 's properties ... .truststore.password", "ts-pwd"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory | |
javax.jdo.PersistenceManagerFactory JDO Interface PersistenceManagerFactory Super Interfaces: Serializable The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances. All PersistenceManager instances obtained from the same PersistenceManagerFactory will have the same default properties | |
PersistenceManagerFactory.close() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void close () Close this PersistenceManagerFactory . Check for JDOPermission("closePersistenceManagerFactory") and if not authorized, throw ... obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager | |
PersistenceManagerFactory.getPersistenceManagerProxy() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory PersistenceManager getPersistenceManagerProxy ... of PersistenceManager . When used with a PersistenceManagerFactory that uses TransactionType JTA ... is automatically closed when the transaction completes. When used with a PersistenceManagerFactory | |
PersistenceManagerFactory.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void removeInstanceLifecycleListener (   ... created by this PersistenceManagerFactory . The addInstanceLifecycleListener ... when the PersistenceManagerFactory is configurable (before the first time getPersistenceManager is called). Parameters | |
PersistenceManagerFactory.addInstanceLifecycleListener(listener,classes) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void addInstanceLifecycleListener (   ... PersistenceManager created by this PersistenceManagerFactory . The addInstanceLifecycleListener ... and can only be called when the PersistenceManagerFactory is configurable (before the first time getPersistenceManager | |
PersistenceManagerFactory.getProperties() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory Properties getProperties () Return non-configurable properties of this PersistenceManagerFactory . Properties with keys VendorName and VersionNumber are required. Other keys are optional. Return: the non-configurable properties of this PersistenceManagerFactory . Since: JDO 1.0 | |
PersistenceManagerFactory.isClosed() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean isClosed () A PersistenceManagerFactory instance can be used until it is closed. Return: true if this PersistenceManagerFactory has been closed. See Also: close () Since: JDO 2.0 | |
PersistenceManagerFactory.setTransactionType(name) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setTransactionType ( String name ) Sets the TransactionType for this PersistenceManagerFactory . Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same-named property in JSR-220 | |
PersistenceManagerFactory.getName() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getName () Gets the name of this PersistenceManagerFactory . Return: the name of this PMF Since: JDO 2.1 | |
PersistenceManagerFactory.setName(name) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setName ( String name ) Sets the name of this PersistenceManagerFactory . Parameters: name - the name of this PMF Since: JDO 2.1 | |
PersistenceManagerFactory.getPersistenceUnitName() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getPersistenceUnitName () Gets the PersistenceUnitName for this PersistenceManagerFactory . Return: the PersistenceUnitName See Also: setPersistenceUnitName Since: JDO 2.1 | |
PersistenceManagerFactory.setPersistenceUnitName(name) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setPersistenceUnitName ( String name ) Sets the PersistenceUnitName for this PersistenceManagerFactory . This has the same semantics as the same-named property in JSR-220 PersistenceUnitInfo. Parameters: name | |
PersistenceManagerFactory.getFetchGroup(cls,name) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory FetchGroup getFetchGroup ( Class cls, String name ) Create an unscoped, modifiable FetchGroup for the Class and name. If a corresponding FetchGroup already exists in PersistenceManagerFactory scope, copy | |
PersistenceManagerFactory.getServerTimeZoneID() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getServerTimeZoneID () Gets the TimeZone ID of the server associated with this PersistenceManagerFactory . If not set, assume that the server has the same TimeZone ID as the client. Return: the TimeZone of the server See Also: setServerTimeZoneID Since: JDO 2.1 | |
PersistenceManagerFactory.setServerTimeZoneID(timezoneid) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setServerTimeZoneID ( String timezoneid ) Sets the TimeZone ID of the server associated with this PersistenceManagerFactory . The parameter is a String suitable for use with TimeZone.getTimeZone(). The String must match an ID | |
PersistenceManagerFactory.getTransactionType() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getTransactionType () Gets the TransactionType for this PersistenceManagerFactory . Return: the TransactionType See Also: setTransactionType 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.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.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.setIgnoreCache(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setIgnoreCache ( boolean flag ) Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default IgnoreCache setting. Since: JDO 1.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.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.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.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.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.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.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.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.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.setMultithreaded(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setMultithreaded ( boolean flag ) Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default Multithreaded setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getMultithreaded() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getMultithreaded () Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. Return: the default Multithreaded setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionFactory2Name() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getConnectionFactory2Name () Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the name of the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionFactory2Name(connectionFactoryName) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionFactory2Name ( String connectionFactoryName ) Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions | |
PersistenceManagerFactory.getConnectionFactory2() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory Object getConnectionFactory2 () Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionFactory2(connectionFactory) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionFactory2 ( Object connectionFactory ) Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations | |
PersistenceManagerFactory.getConnectionFactoryName() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getConnectionFactoryName () Get the name for the data store connection factory. Return: the name of the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionFactoryName(connectionFactoryName) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionFactoryName ( String connectionFactoryName ) Set the name for the data store connection factory. Parameters: connectionFactoryName - the name of the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionFactory() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory Object getConnectionFactory () Get the data store connection factory. Return: the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionFactory(connectionFactory) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionFactory ( Object connectionFactory ) Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification | |
PersistenceManagerFactory.getConnectionURL() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getConnectionURL () Get the URL for the data store connection. Return: the URL for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionURL(url) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionURL ( String url ) Set the URL for the data store connection. Parameters: url - the URL for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionDriverName() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory String getConnectionDriverName () Get the driver name for the data store connection. Return: the driver name for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionDriverName(driverName) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setConnectionDriverName ( String driverName ) Set the driver name for the data store connection. Parameters: driverName - the driver name for the data store connection. Since: JDO 1.0 | |
PersistenceManagerFactory.getNontransactionalRead() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getNontransactionalRead () Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. Return: the default NontransactionalRead setting. Since: JDO 1.0 | |
PersistenceManagerFactory.setNontransactionalRead(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setNontransactionalRead ( boolean flag ) Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default NontransactionalRead setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getNontransactionalWrite() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getNontransactionalWrite () Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. Return: the default NontransactionalWrite setting. Since: JDO 1.0 | |
PersistenceManagerFactory.setNontransactionalWrite(flag) - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory void setNontransactionalWrite ( boolean flag ) Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. Parameters: flag - the default NontransactionalWrite setting. Since: JDO 1.0 | |
PersistenceManagerFactory.getRestoreValues() - JDO Method JDO Method in javax.jdo. PersistenceManagerFactory boolean getRestoreValues () Get the default value for the RestoreValues property. Return: the value of the restoreValues property Since: JDO 1.0 |