Internal Website Search

51-100 of 200 results

javax.persistence.metamodel.EntityType

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 Inherited from: IdentifiableType Since: JPA 2.0 boolean

javax.persistence.JoinColumn

, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 boolean insertable default ... of the referenced primary key column. Since: JPA 1.0 boolean nullable default true (Optional) Whether the foreign ... is for an element collection, the name of the collection table. Since: JPA 1.0 boolean unique default

Query.isBound(param) - JPA Method

JPA Method in javax.persistence.Query boolean isBound (    Parameter  param ) Return a boolean indicating whether a value has been bound to the parameter. Parameters: param - parameter object Return: boolean indicating whether parameter has been bound Since: JPA 2.0

javax.persistence.Query

boolean isBound ( Parameter  param) Return a boolean indicating whether a value has been bound to the parameter. Parameters: param - parameter object Return: boolean indicating whether parameter

javax.persistence.TypedQuery

and the transaction is rolled back Since: JPA 2.0 boolean isBound ( Parameter  param) Return a boolean indicating whether a value has been bound to the parameter. Parameters: param - parameter object Return: boolean indicating whether parameter has been bound Inherited from: Query Since: JPA 2.0

javax.persistence.OrderColumn

for the column. Defaults to generated SQL to create a column of the inferred type. Since: JPA 2.0 boolean ... ". Since: JPA 2.0 boolean nullable default true (Optional) Whether the database column is nullable. Since: JPA 2.0 boolean updatable default true (Optional) Whether the column is included in SQL

CriteriaBuilder.or(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate or (    Expression  x,     Expression  y ) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Return: or predicate Since: JPA 2.0

CriteriaBuilder.and(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate and (    Expression  x,     Expression  y ) Create a conjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Return: and predicate Since: JPA 2.0

javax.persistence.criteria.Join

getParent () Return the parent of the join. Return: join parent Since: JPA 2.0 boolean isCorrelated ... method). Return: boolean indicating whether the object has been obtained through correlation Inherited ... - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1 Join

SingularAttribute.isOptional() - JPA Method

JPA Method in javax.persistence.metamodel.SingularAttribute boolean isOptional () Can the attribute be null. Return: boolean indicating whether the attribute can be null Since: JPA 2.0

SingularAttribute.isId() - JPA Method

JPA Method in javax.persistence.metamodel.SingularAttribute boolean isId () Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Return: boolean indicating whether the attribute is an id Since: JPA 2.0

SingularAttribute.isVersion() - JPA Method

JPA Method in javax.persistence.metamodel.SingularAttribute boolean isVersion () Is the attribute a version attribute. Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0

Predicate.isNegated() - JPA Method

JPA Method in javax.persistence.criteria.Predicate boolean isNegated () Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method. Return: boolean indicating if the predicate is a negated predicate Since: JPA 2.0

javax.persistence.criteria.CriteriaDelete

) Modify the delete query to restrict the target of the deletion according to the specified boolean ... compound boolean expression Return: the modified delete query Since: JPA 2.1 CriteriaDelete

javax.persistence.criteria.Selection

Since: JPA 2.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Return: boolean indicating whether the selection is a compound selection Since: JPA 2.0

javax.persistence.PersistenceUtil

the environment created the entity. Since: JPA 2.0 Public Methods boolean isLoaded (Object entity ... , else true Since: JPA 2.0 boolean isLoaded (Object entity, String attributeName

CriteriaDelete.where(restriction) - JPA Method

to the specified boolean expression. Replaces the previously added restriction(s), if any. Parameters: restriction - a simple or compound boolean expression Return: the modified delete query Since: JPA 2.1

Predicate.getOperator() - JPA Method

JPA Method in javax.persistence.criteria.Predicate Predicate.BooleanOperator getOperator () Return the boolean operator for the predicate. If the predicate is simple, this is AND . Return: boolean operator for the predicate Since: JPA 2.0

EntityManagerFactory.isOpen() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory boolean isOpen () Indicates whether the factory is open. Returns true until the factory has been closed. Return: boolean indicating whether the factory is open Since: JPA 1.0

javax.persistence.PersistenceUnitUtil

- if the object is found not to be an entity Since: JPA 2.0 boolean isLoaded (Object entity) Determine ... if the entity has not been loaded, else true Since: JPA 2.0 boolean isLoaded (Object entity, 

javax.persistence.EntityManagerFactory

: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0 boolean isOpen () Indicates whether the factory is open. Returns true until the factory has been closed. Return: boolean indicating

Attribute.isAssociation() - JPA Method

JPA Method in javax.persistence.metamodel.Attribute boolean isAssociation () Is the attribute an association. Return: boolean indicating whether the attribute corresponds to an association Since: JPA 2.0

Attribute.isCollection() - JPA Method

JPA Method in javax.persistence.metamodel.Attribute boolean isCollection () Is the attribute collection-valued (represents a Collection, Set, List, or Map). Return: boolean indicating whether the attribute is collection-valued Since: JPA 2.0

javax.persistence.OneToOne

is only specified on the inverse (non-owning) side of the association. Since: JPA 1.0 boolean optional ... relationship must always exist. Since: JPA 1.0 boolean orphanRemoval default false (Optional) Whether to apply

Subquery.distinct(distinct) - JPA Method

JPA Method in javax.persistence.criteria.Subquery Subquery distinct (    boolean  distinct ) Specify whether duplicate query results will be eliminated. A true value will cause ... of the corresponding AbstractQuery method. Parameters: distinct - boolean value specifying whether duplicate

javax.persistence.criteria.CompoundSelection

Since: JPA 2.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Return: boolean indicating whether the selection is a compound selection Inherited from: Selection Since: JPA 2.0

From.isCorrelated() - JPA Method

JPA Method in javax.persistence.criteria.From boolean isCorrelated () Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method). Return: boolean indicating whether the object has been obtained through correlation Since: JPA 2.0

javax.persistence.criteria.From

: parent Inherited from: Path Since: JPA 2.0 boolean isCorrelated () Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method). Return: boolean indicating

AbstractQuery.distinct(distinct) - JPA Method

JPA Method in javax.persistence.criteria.AbstractQuery AbstractQuery distinct (    boolean  distinct ) Specify whether duplicate query results will be eliminated. A true value ... has not been specified, duplicate results must be retained. Parameters: distinct - boolean value

AbstractQuery.isDistinct() - JPA Method

JPA Method in javax.persistence.criteria.AbstractQuery boolean isDistinct () Return whether duplicate query results must be eliminated or retained. Return: boolean indicating whether duplicate query results must be eliminated Since: JPA 2.0

EntityManager.contains(entity) - JPA Method

JPA Method in javax.persistence.EntityManager boolean contains (   Object entity ) Check if the instance is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Return: boolean indicating if entity is in persistence context

AbstractQuery.where(restriction) - JPA Method

boolean expression. Replaces the previously added restriction(s), if any. Parameters: restriction - a simple or compound boolean expression Return: the modified query Since: JPA 2.0

CriteriaUpdate.where(restriction) - JPA Method

to the specified boolean expression. Replaces the previously added restriction(s), if any. Parameters: restriction - a simple or compound boolean expression Return: the modified update query Since: JPA 2.1

javax.persistence.criteria.Order

for ordering Since: JPA 2.0 boolean isAscending () Whether ascending ordering is in effect. Return: boolean

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

Order.isAscending() - JPA Method

JPA Method in javax.persistence.criteria.Order boolean isAscending () Whether ascending ordering is in effect. Return: boolean indicating whether ordering is ascending Since: JPA 2.0

Cache.contains(cls,primaryKey) - JPA Method

JPA Method in javax.persistence.Cache boolean contains (   Class cls,    Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Return: boolean indicating whether the entity is in the cache Since: JPA 2.0

EntityTransaction.isActive() - JPA Method

JPA Method in javax.persistence.EntityTransaction boolean isActive () Indicate whether a resource transaction is in progress. Return: boolean indicating whether transaction is in progress Throws: PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

javax.persistence.Convert

) boolean fullTime; ... } Example 2: Auto-apply conversion of a basic attribute @Converter(autoApply=true ... for this element must be specified if multiple converters would otherwise apply. Since: JPA 2.1 boolean

StateInterrogation.isTransactional(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isTransactional (   Object  ... with the current transaction return Boolean .TRUE . Instances known by the implementation to be non-transactional return Boolean .FALSE . Instances not recognized by the implementation return null

StateInterrogation.isPersistent(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isPersistent (   Object pc ... the data store return Boolean .TRUE . Instances known by the implementation to be non-persistent return Boolean .FALSE . Instances not recognized by the implementation return null . Parameters: pc

StateInterrogation.isNew(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isNew (   Object pc ) Tests ... that have been made persistent in the current transaction return Boolean .TRUE . Instances known by the implementation to be non-new return Boolean .FALSE . Instances not recognized by the implementation return null . Parameters

StateInterrogation.isDirty(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isDirty (   Object pc ... made persistent in the current transaction, or modified while detached return Boolean .TRUE . Instances 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

JDO Method in javax.jdo.spi.StateInterrogation Boolean isDeleted (   Object pc ... transaction return Boolean .TRUE . Instances known by the implementation to be non-deleted return Boolean .FALSE . Instances not recognized by the implementation return null . Parameters: pc

JDOImplHelper.nonBinaryCompatibleIs(pc,sibr) - JDO Method

JDO Method in javax.jdo.spi.JDOImplHelper boolean nonBinaryCompatibleIs (   Object  ... until one of them handles the call (returns a non-null Boolean with the answer). The caller provides ... implementation Return: Boolean .TRUE if the instance satisfies the state interrogation; Boolean .FALSE

javax.jdo.datastore.DataStoreCache

of the instance to evict. Since: JDO 2.0 void evictAll ( boolean  subclasses, Class pcClass ... . Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0 void pinAll ( boolean   ... unpinAll ( boolean  subclasses, Class pcClass) Unpin instances from the second-level cache

StateManager.setBooleanField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setBooleanField (   PersistenceCapable pc,    int field,     boolean  currentValue,     boolean  newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.getBooleanField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean getBooleanField (   PersistenceCapable pc,    int field,     boolean  currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field

Query.setOrdering(ordering) - JDO Method

with a field in the candidate class. Valid field types are primitive types except boolean ; wrapper types except Boolean ; BigDecimal ; BigInteger ; String ; and Date . Parameters: ordering - the ordering specification. Since: JDO 1.0