Internal Website Search
101-150 of 200 resultsIdentifiableType | |
javax.persistence.Cache. Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use Cache . Public Methods boolean ... entity. Parameters: cls - entity class primaryKey - primary key Return: boolean indicating | |
IdentifiableType | |
EntityManager.isJoinedToTransaction() - JPA Method JPA Method in javax.persistence.EntityManager boolean isJoinedToTransaction () Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active Return: boolean Since: JPA 2.1 | |
CriteriaQuery.distinct(distinct) - JPA Method JPA Method in javax.persistence.criteria.CriteriaQuery CriteriaQuery distinct ( boolean distinct ) Specify whether duplicate query results will be eliminated. A true value ... of the corresponding AbstractQuery method. Parameters: distinct - boolean value specifying | |
Subquery.where(restriction) - JPA Method JPA Method in javax.persistence.criteria.Subquery Subquery where ( Expression restriction ) Modify the subquery to restrict the result according to the specified boolean ... of the corresponding AbstractQuery method. Parameters: restriction - a simple or compound boolean expression Return: the modified subquery Since: JPA 2.0 | |
Selection | |
javax.persistence.criteria.CriteriaUpdate) Modify the update query to restrict the target of the update according to the specified boolean ... compound boolean expression Return: the modified update query Since: JPA 2.1 CriteriaUpdate | |
CriteriaQuery.where(restriction) - JPA Method boolean expression. Replaces the previously added restriction(s), if any. This method only overrides ... compound boolean expression Return: the modified query Since: JPA 2.0 | |
CriteriaQuery.having(restriction) - JPA Method AbstractQuery method. Parameters: restriction - a simple or compound boolean expression Return: the modified query Since: JPA 2.0 | |
javax.persistence.criteria.SetJoin - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1 SetJoin | |
Predicate.getExpressions() - JPA Method JPA Method in javax.persistence.criteria.Predicate List getExpressions () Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query. Return: list of boolean expressions forming the predicate Since: JPA 2.0 | |
PersistenceUtil.isLoaded(entity) - JPA Method JPA Method in javax.persistence.PersistenceUtil boolean isLoaded ( Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType | |
PersistenceUtil.isLoaded(entity,attributeName) - JPA Method JPA Method in javax.persistence.PersistenceUtil boolean isLoaded ( Object entity, String attributeName ) Determine the load state of a given persistent attribute. Parameters: entity - entity containing the attribute attributeName - name of attribute | |
PersistenceUnitUtil.isLoaded(entity) - JPA Method JPA Method in javax.persistence.PersistenceUnitUtil boolean isLoaded ( Object entity ) Determine the load state of an entity belonging to the persistence unit. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded | |
PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method JPA Method in javax.persistence.PersistenceUnitUtil boolean isLoaded ( Object entity, String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance | |
javax.persistence.MapKeyJoinColumn.unique JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean unique default false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Since: JPA 2.0 | |
javax.jdo.spi.JDOImplHelper$StateInterrogationBooleanReturn JDO Interface StateInterrogationBooleanReturn This is an interface used to interrogate the state of an instance that does not implement PersistenceCapable. It is used for the methods that return a boolean value. Since: JDO 1.0 Public Methods Boolean is (Object pc, StateInterrogation | |
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.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.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.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 | |
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.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.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 | |
PersistenceManager.getMultithreaded() - JDO Method JDO Method in javax.jdo.PersistenceManager boolean getMultithreaded () Get the current Multithreaded flag for this PersistenceManager . Return: the Multithreaded setting. See Also: setMultithreaded Since: JDO 1.0 | |
PersistenceManager.getIgnoreCache() - JDO Method JDO Method in javax.jdo.PersistenceManager boolean getIgnoreCache () Get the ignoreCache setting for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Return: the ignoreCache setting. Since: JDO 1.0 | |
PersistenceManager.setIgnoreCache(flag) - JDO Method JDO Method in javax.jdo.PersistenceManager void setIgnoreCache ( boolean flag ) Set the ignoreCache parameter for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Parameters: flag - the ignoreCache setting. Since: JDO 1.0 | |
PersistenceManager.setMultithreaded(flag) - JDO Method JDO Method in javax.jdo.PersistenceManager void setMultithreaded ( boolean flag ) Set the Multithreaded flag for this PersistenceManager . Applications that use multiple threads to invoke methods or access fields from instances managed by this PersistenceManager must set this flag | |
PersistenceManager.retrieveAll(useFetchPlan,pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager void retrieveAll ( boolean useFetchPlan, Object... pcs ) Retrieve field values of instances from the store. This tells the PersistenceManager that the application intends to use the instances, and their field values | |
javax.jdo.identity.LongIdentity Since: JDO 2.2 boolean equals (Object obj) Determine if the other object represents the same | |
IntIdentity.equals(obj) - JDO Method JDO Method in javax.jdo.identity.IntIdentity boolean equals ( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.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 | |
StateManager.providedBooleanField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void providedBooleanField ( PersistenceCapable pc, int field, boolean currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling | |
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 |