Internal Website Search
51-100 of 200 resultsPersistenceManager.getDataStoreConnection() - JDO Method JDO Method in javax.jdo. PersistenceManager JDOConnection getDataStoreConnection () If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object | |
PersistenceManager.getSequence(name) - JDO Method JDO Method in javax.jdo. PersistenceManager Sequence getSequence ( String name ) Returns the sequence identified by name . Parameters: name - the name of the Sequence Return: the Sequence Since: JDO 2.0 | |
PersistenceManager.getObjectIdClass(cls) - JDO Method JDO Method in javax.jdo. PersistenceManager Class getObjectIdClass ( Class cls ) Return the Class that implements the JDO Identity for the specified PersistenceCapable class. The application can use the returned Class to construct a JDO Identity instance for application identity | |
PersistenceManager.removeUserObject(key) - JDO Method JDO Method in javax.jdo. PersistenceManager Object removeUserObject ( Object key ) Remove the specified key and its value from the map of user objects. Parameters: key - the key of the object to be removed Since: JDO 2.0 | |
PersistenceManager.getUserObject(key) - JDO Method JDO Method in javax.jdo. PersistenceManager Object getUserObject ( Object key ) Get the value for the specified key from the map of user objects. Parameters: key - the key of the object to be returned Return: the object Since: JDO 2.0 | |
PersistenceManager.flush() - JDO Method JDO Method in javax.jdo. PersistenceManager void flush () Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions | |
PersistenceManager.putUserObject(key,val) - JDO Method JDO Method in javax.jdo. PersistenceManager Object putUserObject ( Object key, Object val ) Put the specified key-value pair into the map of user objects. Since: JDO 2.0 | |
PersistenceManager.setDetachAllOnCommit(flag) - JDO Method JDO Method in javax.jdo. PersistenceManager void setDetachAllOnCommit ( boolean flag ) Sets the detachAllOnCommit setting. DetachAllOnCommit set to false specifies that the state of persistent instances in the cache after commit is defined by the retainValues flag. With this flag | |
PersistenceManager.setCopyOnAttach(flag) - JDO Method JDO Method in javax.jdo. PersistenceManager void setCopyOnAttach ( boolean flag ) Sets the copyOnAttach setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false , detached parameter | |
PersistenceManager.getCopyOnAttach() - JDO Method JDO Method in javax.jdo. PersistenceManager boolean getCopyOnAttach () Gets the copyOnAttach setting. Return: the copyOnAttach setting. See Also: setCopyOnAttach Since: JDO 2.1 | |
PersistenceManager.getDetachAllOnCommit() - JDO Method JDO Method in javax.jdo. PersistenceManager boolean getDetachAllOnCommit () Gets the detachAllOnCommit setting. Return: the detachAllOnCommit setting. See Also: setDetachAllOnCommit Since: JDO 2.0 | |
PersistenceManager.makeTransactional(pc) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeTransactional ( Object pc ) Make an instance subject to transactional boundaries. Transient instances normally do not observe transaction boundaries. This method makes transient instances sensitive to transaction completion | |
PersistenceManager.deletePersistentAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void deletePersistentAll ( Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0 | |
PersistenceManager.deletePersistentAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void deletePersistentAll ( Object... pcs ) Delete an array of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeNontransactionalAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeNontransactionalAll ( Collection pcs ) Make a Collection of instances non-transactional after commit. Parameters: pcs - the Collection of instances to make nontransactional. See Also: makeNontransactional (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeTransactionalAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeTransactionalAll ( Collection pcs ) Make a Collection of instances subject to transactional boundaries. Parameters: pcs - the Collection of instances to make transactional. See Also: makeTransactional (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeTransactionalAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeTransactionalAll ( Object... pcs ) Make an array of instances subject to transactional boundaries. Parameters: pcs - the array of instances to make transactional. See Also: makeTransactional (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeNontransactionalAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeNontransactionalAll ( Object... pcs ) Make an array of instances non-transactional after commit. Parameters: pcs - the array of instances to make nontransactional. See Also: makeNontransactional (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeNontransactional(pc) - JDO Method JDO Method in javax.jdo. PersistenceManager void makeNontransactional ( Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not | |
PersistenceManager.getTransactionalObjectId(pc) - JDO Method JDO Method in javax.jdo. PersistenceManager Object getTransactionalObjectId ( Object pc ) The ObjectId returned by this method represents the JDO identity of the instance. The ObjectId is a copy (clone) of the internal state of the instance, and changing it does not affect the JDO | |
PersistenceManager.newObjectIdInstance(pcClass,key) - JDO Method JDO Method in javax.jdo. PersistenceManager Object newObjectIdInstance ( Class pcClass, Object key ) This method returns an object id instance corresponding to the pcClass and key arguments. Parameters: pcClass - the Class of the persistence-capable instance | |
PersistenceManager.getExtent(persistenceCapableClass) - JDO Method JDO Method in javax.jdo. PersistenceManager Extent getExtent ( Class persistenceCapableClass ) Equivalent to getExtent (persistenceCapableClass, true) . See Also: getExtent Since: JDO 2.0 | |
PersistenceManager.getObjectById(oid) - JDO Method JDO Method in javax.jdo. PersistenceManager Object getObjectById ( Object oid ) Looks up the instance corresponding to the specified oid. This is equivalent to getObjectById(oid, true); Parameters: oid - The object id of the object to load Return: the corresponding persistent instance Since: JDO 1.0 | |
PersistenceManager.getObjectById(cls,key) - JDO Method JDO Method in javax.jdo. PersistenceManager T getObjectById ( Class cls, Object key ) Looks up the instance of the given type with the given key. Parameters: cls - The type of object to load key - either the string representation of the object id, or | |
PersistenceManager.newQuery(cln,filter) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Extent cln, String filter ) Create a new Query with the candidate Extent and filter; the class is taken from the Extent . Parameters: cln - the Extent of candidate instances filter - the filter for candidate instances Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(cls,cln,filter) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Class cls, Collection cln, String filter ) Create a new Query with the Class of the candidate instances, candidate Collection , and filter. Parameters: cls - the Class | |
PersistenceManager.newNamedQuery(cls,queryName) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newNamedQuery ( Class cls, String queryName ) Create a new Query with the given candidate class from a named query. The query name given must be the name of a query defined in metadata. Parameters: cls | |
PersistenceManager.makePersistentAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager T[] makePersistentAll ( T... pcs ) Make an array of instances persistent. Parameters: pcs - an array of instances Return: the parameter instances for parameters in the transient or persistent state, or the corresponding persistent | |
PersistenceManager.makePersistentAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager Collection makePersistentAll ( Collection pcs ) Make a Collection of instances persistent. Parameters: pcs - a Collection of instances Return: the parameter instance for parameters in the transient or persistent state, or | |
PersistenceManager.getObjectsById(validate,oids) - JDO Method JDO Method in javax.jdo. PersistenceManager Object[] getObjectsById ( boolean validate, Object... oids ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return validate - if true, the existance of the objects in | |
PersistenceManager.getObjectsById(oids,validate) - JDO Method JDO Method in javax.jdo. PersistenceManager Object[] getObjectsById ( Object[] oids, boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return validate - if true, the existance of the objects in | |
PersistenceManager.getObjectsById(oids) - JDO Method JDO Method in javax.jdo. PersistenceManager Object[] getObjectsById ( Object... oids ) Return the objects with the given oids. This method is equivalent to calling getObjectsById with the validate flag true. Parameters: oids - the oids of the objects to return Return: the objects | |
PersistenceManager.getObjectsById(oids) - JDO Method JDO Method in javax.jdo. PersistenceManager Collection getObjectsById ( Collection oids ) Return the objects with the given oids. This method is equivalent to calling (Collection, boolean) with the validate flag true. Parameters: oids - the oids of the objects to return Return | |
PersistenceManager.getObjectsById(oids,validate) - JDO Method JDO Method in javax.jdo. PersistenceManager Collection getObjectsById ( Collection oids, boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return validate - if true, the existance of the objects in | |
PersistenceManager.refreshAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void refreshAll ( Collection pcs ) Refresh the state of a Collection of instances from the data store. Parameters: pcs - the Collection of instances to refresh. See Also: refresh (Object pc) Since: JDO 1.0 | |
PersistenceManager.refreshAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void refreshAll ( Object... pcs ) Refresh the state of an array of instances from the data store. Parameters: pcs - the array of instances to refresh. See Also: refresh (Object pc) Since: JDO 1.0 | |
PersistenceManager.refreshAll() - JDO Method JDO Method in javax.jdo. PersistenceManager void refreshAll () Refresh the state of all applicable instances from the data store. If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed. See Also: refresh (Object pc) Since: JDO 1.0 | |
PersistenceManager.refresh(pc) - JDO Method JDO Method in javax.jdo. PersistenceManager void refresh ( Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state | |
PersistenceManager.evictAll() - JDO Method JDO Method in javax.jdo. PersistenceManager void evictAll () Mark all persistent-nontransactional instances as no longer needed in the cache. It transitions all persistent-nontransactional instances to hollow. Transactional instances are subject to eviction based on the RetainValues setting. See Also: evict (Object pc) Since: JDO 1.0 | |
PersistenceManager.evictAll(subclasses,pcClass) - JDO Method JDO Method in javax.jdo. PersistenceManager void evictAll ( boolean subclasses, Class pcClass ) Mark the parameter instances as no longer needed in the cache. Parameters: pcClass - the class of instances to evict subclasses - if true, mark instances of subclasses also Since: JDO 2.1 | |
PersistenceManager.evictAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void evictAll ( Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. See Also: evict (Object pc) Since: JDO 1.0 | |
PersistenceManager.newQuery(cln) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Extent cln ) Create a new Query with the Class of the candidate instances and candidate Extent . Parameters: cln - the Extent of candidate instances Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(cls,filter) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Class cls, String filter ) Create a new Query with the Class of the candidate instances and filter. Parameters: cls - the Class of results filter - the filter for candidate instances Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(cls,cln) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Class cls, Collection cln ) Create a new Query with the candidate Class and Collection . Parameters: cls - the Class of results cln - the Collection of candidate instances Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(cls) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( Class cls ) Create a new Query specifying the Class of the candidate instances. Parameters: cls - the Class of the candidate instances Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(language,query) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( String language, Object query ) Create a new Query using the specified language. Parameters: language - the language of the query parameter query - the query, which is of a form determined by the language Return: the new Query Since: JDO 1.0 | |
PersistenceManager.newQuery(query) - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery ( String query ) Create a Construct a new query instance using the specified String as the single-string representation of the query. Parameters: query - the single-string query Return: the new Query Since: JDO 2.0 | |
PersistenceManager.newQuery() - JDO Method JDO Method in javax.jdo. PersistenceManager Query newQuery () Create a new Query with no elements. Return: the new Query . Since: JDO 1.0 | |
PersistenceManager.refreshAll(jdoe) - JDO Method JDO Method in javax.jdo. PersistenceManager void refreshAll ( JDOException jdoe ) Refreshes all instances in the exception that failed verification. Since: JDO 2.0 | |
PersistenceManager.evictAll(pcs) - JDO Method JDO Method in javax.jdo. PersistenceManager void evictAll ( Object... pcs ) Mark an array of instances as no longer needed in the cache. Parameters: pcs - the array of instances to evict from the cache. See Also: evict (Object pc) Since: JDO 1.0 |