Internal Website Search

101-150 of 200 results

CriteriaBuilder.isMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isMember (    Expression  elem,     Expression  collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false

javax.persistence.criteria.AbstractQuery

. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate

javax.persistence.Converter.autoApply

JPA Annotation Attribute in javax.persistence.Converter boolean autoApply default false Since: JPA 2.1

EntityTransaction.getRollbackOnly() - JPA Method

JPA Method in javax.persistence.EntityTransaction boolean getRollbackOnly () Determine whether the current resource transaction has been marked for rollback. Return: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0

EntityTransaction.setRollbackOnly() - JPA Method

JPA Method in javax.persistence.EntityTransaction void setRollbackOnly () Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if isActive() is false Since: JPA 1.0

CriteriaBuilder.or(restrictions) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate or (   Predicate... restrictions ) Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false . Parameters: restrictions - zero or more restriction predicates Return: or predicate Since: JPA 2.0

javax.persistence.Convert.disableConversion

JPA Annotation Attribute in javax.persistence.Convert boolean disableConversion default false Used to disable an auto-apply or inherited converter. If disableConversion is true, the converter element should not be specified. Since: JPA 2.1

CriteriaBuilder.isFalse(x) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isFalse (    Expression  x ) Create a predicate testing for a false value. Parameters: x - expression to be tested Return: predicate Since: JPA 2.0

CriteriaBuilder.disjunction() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate disjunction () Create a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false . Return: or predicate Since: JPA 2.0

javax.persistence.Convert

disableConversion default false Used to disable an auto-apply or inherited converter

javax.persistence.JoinColumn.unique

JPA Annotation Attribute in javax.persistence.JoinColumn 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. It is not

javax.persistence.NamedEntityGraph

that are included in this graph. Since: JPA 2.1 boolean includeAllAttributes default false (Optional

javax.persistence.Cache

JPA Interface Cache Interface used to interact with the second-level cache. If a cache is not in use, the methods of this interface have no effect, except for contains , which returns false . Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use Cache . Public Methods boolean

javax.persistence.metamodel.IdentifiableType

attribute. Returns true for a simple id or embedded id; returns false for an idclass. Return: boolean

javax.persistence.NamedEntityGraph.includeAllAttributes

JPA Annotation Attribute in javax.persistence.NamedEntityGraph boolean includeAllAttributes default false (Optional) Includes all of the attributes of the annotated entity class as attribute nodes in the NamedEntityGraph without the need to explicitly list them. Included attributes

javax.persistence.metamodel.EntityType

for a simple id or embedded id; returns false for an idclass. Return: boolean indicating

IdentifiableType.hasSingleIdAttribute() - JPA Method

JPA Method in javax.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute () Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Return: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0

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

javax.persistence.JoinColumn

false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint

javax.persistence.Index

2.1 boolean unique default false (Optional) Whether the index is unique. Since: JPA 2.1

EntityManager.close() - JPA Method

the IllegalStateException except for getProperties , getTransaction , and isOpen (which will return false

javax.persistence.criteria.Subquery

value will cause duplicates to be eliminated. A false value will cause duplicates to be retained

javax.persistence.Index.unique

JPA Annotation Attribute in javax.persistence.Index boolean unique default false (Optional) Whether the index is unique. 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 will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct

Transaction.getRollbackOnly() - JDO Method

JDO Method in javax.jdo.Transaction boolean getRollbackOnly () Returns the rollback-only status of the transaction. When begun, the rollback-only status is false . Either the application or the JDO implementation may set this flag using setRollbackOnly. Return: true if the transaction has been marked for rollback. Since: JDO 2.0

Query.closeAll() - JDO Method

JDO Method in javax.jdo.Query void closeAll () Close all query results associated with this Query instance, and release all resources associated with them. The query results might have iterators open on them. Iterators associated with the query results are invalidated: they return false to hasNext

Query.close(queryResult) - JDO Method

: they return false to hasNext() and throw NoSuchElementException to next() . Parameters: queryResult

javax.jdo.spi.JDOImplHelper

interrogation; Boolean. FALSE if the instance does not satisfy the interrogation; or null

Extent.closeAll() - JDO Method

JDO Method in javax.jdo.Extent void closeAll () Close all Iterator s associated with this Extent instance. Iterator s closed by this method will return false to hasNext() and will throw NoSuchElementException on next() . The Extent instance can still be used as a parameter of Query.setExtent , and to get an Iterator . Since: JDO 1.0

Extent.close(it) - JDO Method

JDO Method in javax.jdo.Extent void close (   Iterator  it ) Close an Iterator associated with this Extent instance. Iterator s closed by this method will return false to hasNext() and will throw NoSuchElementException on next() . The Extent instance can still be used as a parameter

Query.setFilter(filter) - JDO Method

if the filter expression returned false for the evaluation of the current set of variable values

PersistenceManager.makeTransientAll(useFetchPlan,pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeTransientAll (   boolean useFetchPlan,    Object... pcs ) Make instances transient, removing them from management by this PersistenceManager . If the useFetchPlan parameter is false , this method behaves exactly

PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeTransientAll (   Object[] pcs,    boolean useFetchPlan ) Make instances transient, removing them from management by this PersistenceManager . If the useFetchPlan parameter is false , this method behaves exactly

PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeTransientAll (   Collection pcs,    boolean useFetchPlan ) Make instances transient, removing them from management by this PersistenceManager . If the useFetchPlan parameter is false , this method behaves exactly

PersistenceManager.makeTransient(pc,useFetchPlan) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeTransient (   Object pc,    boolean useFetchPlan ) Make an instance transient, removing it from management by this PersistenceManager . If the useFetchPlan parameter is false , this method behaves exactly as

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

, and the implementation might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false

PersistenceManager.retrieve(pc,useFetchPlan) - JDO Method

must be retrieved. If the useFetchPlan parameter is false , this method behaves exactly as the corresponding

StateInterrogation.isTransactional(pc) - JDO Method

-transactional return Boolean. FALSE . Instances not recognized by the implementation return null

StateInterrogation.isPersistent(pc) - JDO Method

return Boolean. FALSE . Instances not recognized by the implementation return null . Parameters: pc

StateInterrogation.isNew(pc) - JDO Method

-new return Boolean. FALSE . Instances not recognized by the implementation return null . Parameters

StateInterrogation.isDirty(pc) - JDO Method

known by the implementation to be non-dirty return Boolean. FALSE . Instances not recognized by

StateInterrogation.isDetached(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isDetached (   Object pc ) Tests whether the parameter instance is detached. Instances that are detached return Boolean.TRUE . Instances known by the implementation to be non-detached return Boolean. FALSE . Instances not

StateInterrogation.isDeleted(pc) - JDO Method

Boolean. FALSE . Instances not recognized by the implementation return null . Parameters: pc

javax.jdo.annotations.Element

exists on the column or columns associated with this join. Specify "true" or " false ". Since: JDO 2.1

javax.jdo.annotations.Element.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Element String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify "true" or " false ". Since: JDO 2.1

PersistenceCapable.jdoIsNew() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsNew () Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true. Transient instances return false . Return: true if this instance was made persistent in

PersistenceCapable.jdoIsDetached() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDetached () Tests whether this object has been detached. Instances that have been detached return true. Transient instances return false . Return: true if this instance is detached. See Also: javax.jdo.JDOHelper.isDetached (Object pc) Since: JDO 2.0

PersistenceCapable.jdoIsDeleted() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDeleted () Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true. Transient instances return false . Return: true if this instance was deleted in the current transaction

PersistenceCapable.jdoIsTransactional() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsTransactional () Tests whether this object is transactional. Instances whose state is associated with the current transaction return true. Transient instances return false . Return: true if this instance is transactional. See Also: javax