Internal Website Search

51-100 of 200 results

javax.persistence.criteria.CriteriaQuery

whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false

EntityTransaction.rollback() - JPA Method

JPA Method in javax.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

EntityTransaction.commit() - JPA Method

JPA Method in javax.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0

javax.persistence.metamodel.MappedSuperclassType

type has a single id attribute. Returns true for a simple id or embedded id; returns false

PersistenceUtil.isLoaded(entity) - JPA Method

. Parameters: entity - whose load state is to be determined Return: false if the entity has not been loaded, else true Since: JPA 2.0

PersistenceUtil.isLoaded(entity,attributeName) - JPA Method

whose load state is to be determined Return: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0

PersistenceUnitUtil.isLoaded(entity) - JPA Method

is to be determined Return: false if the entity has not been loaded, else true Since: JPA 2.0

PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method

: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0

EntityManagerFactory.close() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory void close () Close the factory, releasing any resources that it holds. After a factory instance has been closed, all methods invoked on it will throw the IllegalStateException , except for isOpen , which will return false

javax.persistence.EntityManagerFactory

the IllegalStateException , except for isOpen , which will return false . Once an EntityManagerFactory

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.persistence.MapKeyJoinColumn.nullable

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean nullable default false (Optional) Whether the foreign key column is nullable. Since: JPA 2.0

javax.persistence.OneToMany.orphanRemoval

JPA Annotation Attribute in javax.persistence.OneToMany boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0

javax.persistence.OneToOne.orphanRemoval

JPA Annotation Attribute in javax.persistence.OneToOne boolean orphanRemoval default false (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Since: JPA 2.0

javax.persistence.OneToOne.optional

JPA Annotation Attribute in javax.persistence.OneToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Since: JPA 1.0

javax.persistence.MapKeyColumn.nullable

JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean nullable default false (Optional) Whether the database column is nullable. Since: JPA 2.0

StoredProcedureQuery.hasMoreResults() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery boolean hasMoreResults () Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Return: true if next result corresponds

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 duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not

javax.persistence.ManyToOne.optional

JPA Annotation Attribute in javax.persistence.ManyToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Since: JPA 1.0

javax.persistence.MapKeyColumn.unique

JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean unique default false (Optional) Whether the column 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 corresponds to only a single column

javax.persistence.Cacheable

subclasses; it can be overridden by specifying Cacheable on a subclass. Cacheable( false ) means

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 will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct

StoredProcedureQuery.execute() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery boolean execute () Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Return: true if first result corresponds to result

javax.persistence.Column.unique

JPA Annotation Attribute in javax.persistence.Column boolean unique default false (Optional) Whether the column 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 corresponds to only a single column

CriteriaBuilder.isMember(elem,collection) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate isMember (   E 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 . Parameters

ClearLifecycleListener.preClear(event) - JDO Method

with RetainValues false and rollback with RestoreValues false . The method is called during any state transition

javax.jdo.annotations.Value

associated with this join. Specify "true" or " false ". Since: JDO 2.1 String index default "" The name

PersistenceManagerFactory.setCopyOnAttach(flag) - JDO Method

parameter instances. With this flag set to false , detached parameter instances are attached

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.setRestoreValues(restoreValues) - JDO Method

. If false , at rollback, the values of fields of newly persistent instances are unchanged

javax.jdo.annotations.Key

with this join. Specify "true" or " false ". Since: JDO 2.1 String index default "" The name of the index

javax.jdo.annotations.Join.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Join 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

javax.jdo.annotations.Join.generatePrimaryKey

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

javax.jdo.annotations.Key.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Key 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

PersistenceManager.retrieveAll(useFetchPlan,pcs) - JDO Method

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

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.isDeleted(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isDeleted (   PersistenceCapable pc ) Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true . Transient instances return false . Parameters: pc - the calling

StateManager.isNew(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isNew (   PersistenceCapable pc ) 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 . Parameters: pc

StateManager.isTransactional(pc) - JDO Method

optimistic transactions. Transient nontransactional instances return false . Parameters: pc - the calling

StateManager.isDirty(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isDirty (   PersistenceCapable pc ) Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true . Transient nontransactional instances return false

StateManager.isPersistent(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isPersistent (   PersistenceCapable pc ) Tests whether this object is persistent. Instances whose state is stored in the data store return true . Transient instances return false . Parameters: pc - the calling PersistenceCapable

javax.jdo.annotations.Value.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Value 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

JDOHelper.isTransactional(pc) - JDO Static Method

PersistenceCapable return false . Parameters: pc - the PersistenceCapable instance. Return: true

JDOHelper.isDirty(pc) - JDO Static Method

that do not implement PersistenceCapable return false . Parameters: pc - the PersistenceCapable instance

JDOHelper.isDeleted(pc) - JDO Static Method

PersistenceCapable return false . Parameters: pc - the PersistenceCapable instance. Return: true

JDOHelper.isDetached(pc) - JDO Static Method

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

JDOHelper.isPersistent(pc) - JDO Static Method

PersistenceCapable return false . Parameters: pc - the PersistenceCapable instance. Return: true

JDOHelper.isNew(pc) - JDO Static Method

implement PersistenceCapable return false . Parameters: pc - the PersistenceCapable instance. Return

Transaction.setRestoreValues(restoreValues) - JDO Method

of the beginning of the transaction. If false , at rollback, the values of fields of newly persistent