Internal Website Search
51-100 of 200 resultsjavax.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.Cacheable subclasses; it can be overridden by specifying Cacheable on a subclass. Cacheable( false ) means | |
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 | |
javax.persistence.Convert disableConversion default false Used to disable an auto-apply or inherited converter | |
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 | |
javax.persistence.Converter.autoApply JPA Annotation Attribute in javax.persistence.Converter boolean autoApply default false Since: JPA 2.1 | |
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 | |
EntityManager.close() - JPA Method the IllegalStateException except for getProperties , getTransaction , and isOpen (which will return false | |
javax.persistence.EntityManagerFactory the IllegalStateException , except for isOpen , which will return false . Once an EntityManagerFactory | |
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 | |
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 | |
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.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 | |
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 | |
javax.persistence.Index 2.1 boolean unique default false (Optional) Whether the index is unique. Since: JPA 2.1 | |
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 | |
javax.persistence.JoinColumn false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint | |
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.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.MapKeyColumn.nullable JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean nullable default false (Optional) Whether the database column is nullable. Since: JPA 2.0 | |
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.NamedEntityGraph that are included in this graph. Since: JPA 2.1 boolean includeAllAttributes default false (Optional | |
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.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.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.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 | |
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 | |
PersistenceUnitUtil.isLoaded(entity) - JPA Method 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 | |
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 | |
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 | |
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 | |
javax.persistence.criteria.AbstractQuery. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate | |
AbstractQuery | |
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 | |
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 | |
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.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 | |
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 | |
javax.persistence.criteria.CriteriaQuery whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false | |
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 | |
javax.persistence.criteria.Subquery value will cause duplicates to be eliminated. A false value will cause duplicates to be retained | |
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.metamodel.EntityType for a simple id or embedded id; returns false for an idclass. Return: boolean indicating | |
javax.persistence.metamodel.IdentifiableType attribute. Returns true for a simple id or embedded id; returns false for an idclass. Return: boolean | |
IdentifiableType | |
javax.persistence.metamodel.MappedSuperclassType type has a single id attribute. Returns true for a simple id or embedded id; returns false | |
ClearLifecycleListener.preClear(event) - JDO Method with RetainValues false and rollback with RestoreValues false . The method is called during any state transition |