ObjectDB Database Search
51-100 of 200 resultsPersistenceManager.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.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(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(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(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,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,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,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.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.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.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(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.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.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.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.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 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(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) - 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.newInstance(pcClass) - JDO Method JDO Method in javax.jdo. PersistenceManager T newInstance ( Class pcClass ) Creates an instance of a persistence-capable interface, or of a concrete or abstract class. The returned instance is transient. Parameters: pcClass - Must be a persistence-capable interface, or a concrete | |
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.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.addInstanceLifecycleListener(listener,classes) - JDO Method JDO Method in javax.jdo. PersistenceManager void addInstanceLifecycleListener ( InstanceLifecycleListener listener, Class... classes ) Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes | |
PersistenceManager.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo. PersistenceManager void removeInstanceLifecycleListener ( InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0 | |
PersistenceManager.getServerDate() - JDO Method JDO Method in javax.jdo. PersistenceManager Date getServerDate () Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time | |
PersistenceManager.getManagedObjects() - JDO Method JDO Method in javax.jdo. PersistenceManager Set getManagedObjects () Get the objects managed by this persistence manager. Return: the objects Since: JDO 2.1 | |
PersistenceManager.getManagedObjects(states) - JDO Method JDO Method in javax.jdo. PersistenceManager Set getManagedObjects ( EnumSet states ) Get the objects managed by this persistence manager having the specified object states. Parameters: states - The states of objects that we are interested in Return: the objects Since: JDO 2.1 | |
PersistenceManager.getManagedObjects(classes) - JDO Method JDO Method in javax.jdo. PersistenceManager Set getManagedObjects ( Class... classes ) Get the objects managed by this persistence manager being instances of the specified classes. Parameters: classes - The classes of objects that we are interested in Return: the objects Since: JDO 2.1 | |
PersistenceManager.getManagedObjects(states,classes) - JDO Method JDO Method in javax.jdo. PersistenceManager Set getManagedObjects ( EnumSet states, Class... classes ) Get the objects managed by this persistence manager having the specified object states and being instances of the specified classes. Parameters: states | |
[ODB1] Chapter 7 - JDOQL Queries instance is constructed by one of the PersistenceManager 's newQuery( ... ) methods. For example, in ... specified when invoking one of the PersistenceManager interface newQuery methods can be assigned later |