ObjectDB Database Search
1-50 of 200 resultsjakarta.persistence.criteria.AbstractQuery.distinct(boolean)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true ... - boolean value specifying whether duplicate results must be eliminated from the query result or
|
|
jakarta.persistence.criteria.Subquery.distinct(boolean)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true value ... type of the corresponding AbstractQuery method. Parameters: distinct - boolean value specifying
|
|
How to convert a boolean to an int in the query?
How to convert a boolean to an int in the query? I have five parameters of type boolean in ... ._PersistenceException: Invalid operand type boolean for operator + Please tell me how to do this? Thanks ... them. You can calculate it in a JPA lifecycle event . Currently you cannot convert boolean to int in
|
|
PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException
I have a call to getObjectsById(Collection, boolean ) that is throwing a JDOException the first time I'm attempting to retrieve an object. If I try again, then the second request succeeds. Any idea why this might occur? We're using ObjectDB 2.2.4_02. The collection being passed in is a HashSet
|
|
Logical Operators in JPQL and Criteria API
Logical operators in JPQL and JPA criteria queries combine simple Boolean expressions to form ... for NOT . Criteria query logical operators Boolean expressions and predicates In criteria queries, Boolean expressions are represented by the Expression interface and its descendants. For example
|
|
Literals in JPQL and Criteria Queries
, including NULL , boolean literals ( TRUE and FALSE ), numeric literals (for example, 100 ), string ... explained on the Comparison Operators page. Boolean literalsLiterals Similar to Java and SQL, JPQL supports two boolean literals: TRUE and FALSE . Because JPQL is case-insensitive, TRUE is equivalent
|
|
JPA Criteria Query Expressions
interface for expressions ├─ Predicate # Boolean expression (WHERE/HAVING) │ └─ CriteriaBuilder.In # IN ... ;to allow using expression as query results. A boolean expression used to define restrictions in
|
|
JPA Persistable Types
data types are persistable: Primitive types: boolean , byte , short , char , int , long , float and double . Equivalent wrapper classes from package java.lang: Boolean , Byte , Short , Character
|
|
Retrieving JPA Entities
= Persistence . getPersistenceUtil (); boolean isObjectLoaded = util. isLoaded (employee); boolean
|
|
WHERE clause (JPQL / Criteria API)
to the SELECT clause to be collected as query results, the WHERE clause acts as a filter. The boolean ... ) and functions (numeric, string, and collection). The WHERE predicate is always a boolean JPQL expression
|
|
Database Schema Evolution
values (the default). From any type to Boolean or boolean . ( 0 , null , and false are converted
|
|
ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()
Element I encounter ObjectDB enhancement errors: private boolean loaded = false; @Transient @Override public boolean isLoaded() { return loaded; } @Override public void setLoaded( boolean loaded ... . ... But it is ok using the 'get' getter form: private boolean loaded = false; @Transient @Override public
|
|
Index Definition
of one of the following persistable types: Primitive types: boolean , byte , short , char , int
|
|
jakarta.persistence.metamodel.SingularAttribute
. Since: Jakarta Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute collection-valued
|
|
jakarta.persistence.criteria.Subquery
query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0 Subquery distinct ( boolean ... AbstractQuery method. Overrides AbstractQuery.distinct Parameters: distinct - boolean value ... . Overrides AbstractQuery.having Parameters: restriction - a simple or compound boolean expression Returns
|
|
jakarta.persistence.criteria.Predicate
. Modifications to the list do not affect the query. Returns: list of boolean expressions forming ... Persistence (JPA) 1.0 BooleanOperator getOperator () Return the boolean operator for the predicate. If the predicate is simple, this is AND . Returns: boolean operator for the predicate. Since: Jakarta
|
|
jakarta.persistence.criteria.CriteriaBuilder.In
. Modifications to the list do not affect the query. Inherited from Predicate Returns: list of boolean ... element. Since: Jakarta Persistence (JPA) 1.0 BooleanOperator getOperator () Return the boolean ... : boolean operator for the predicate. Since: Jakarta Persistence (JPA) 1.0 Predicate in ( Object
|
|
jakarta.persistence.criteria.AbstractQuery
Public Instance Methods AbstractQuery distinct ( boolean distinct ) Specify whether duplicate query ... . Parameters: distinct - boolean value specifying whether duplicate results must be eliminated from ... . Parameters: restriction - a simple or compound boolean expression Returns: the modified query. Since: Jakarta
|
|
jakarta.persistence.criteria.CriteriaQuery
CriteriaQuery . Public Instance Methods CriteriaQuery distinct ( boolean distinct ) Specify whether duplicate ... AbstractQuery.distinct Parameters: distinct - boolean value specifying whether duplicate results ... AbstractQuery method. Overrides AbstractQuery.having Parameters: restriction - a simple or compound boolean
|
|
boolean field flips after schema update (in class) of another field
We have added a boolean field to a class with default value false. After deployment on several instances the values of other boolean fields in the same class (next to the new one) flip or ... application = null ; @Embeddable public static class Application { private boolean instruction = false
|
|
jakarta.persistence.criteria.CriteriaBuilder
of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns ... Predicate or ( Expression x , Expression y ) Create a disjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: or predicate. Since: Jakarta
|
|
jakarta.persistence.EntityManager
: IllegalStateException - if the entity manager is container-managed. Since: Jakarta Persistence (JPA) 1.0 boolean ... to the current persistence context. Parameters: entity - entity instance Returns: boolean value indicating ... : IllegalStateException - if invoked on a JTA entity manager. Since: Jakarta Persistence (JPA) 1.0 boolean
|
|
jakarta.persistence.criteria.PluralJoin
. Since: Jakarta Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated () Whether the From
|
|
jakarta.persistence.criteria.MapJoin
against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 boolean ... : boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated () Whether the From object has been obtained as a result of correlation (use
|
|
jakarta.persistence.criteria.SetJoin
against Returns: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 boolean ... : boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated () Whether the From object has been obtained as a result of correlation
|
|
jakarta.persistence.criteria.CollectionJoin
. Since: Jakarta Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated () Whether the From object
|
|
jakarta.persistence.criteria.ListJoin
denoting the index. Since: Jakarta Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated
|
|
jakarta.persistence.criteria.Join
Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated () Whether the From object has been obtained
|
|
jakarta.persistence.PersistenceUnitUtil
is found not to be an entity. Since: Jakarta Persistence (JPA) 3.2 boolean isInstance ( Object entity ... . Since: Jakarta Persistence (JPA) 3.2 boolean isLoaded ( Object entity , String attributeName ) Determine ... Persistence (JPA) 1.0 boolean isLoaded ( E entity , Attribute attribute ) Determine the load state of a given
|
|
jakarta.persistence.JoinColumn
of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean unique (Optional ... key. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the foreign key column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable
|
|
jakarta.persistence.MapKeyColumn
relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean ... boolean nullable (Optional) Whether the database column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean insertable (Optional) Whether the column is included in SQL INSERT
|
|
jakarta.persistence.MapKeyJoinColumn
the primary key column of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean ... . Default: false Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the foreign key column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0 boolean insertable
|
|
jakarta.persistence.EntityTransaction
fails. Since: Jakarta Persistence (JPA) 1.0 boolean getRollbackOnly () Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating ... (JPA) 3.2 boolean isActive () Indicate whether a resource transaction is in progress. Returns: boolean
|
|
jakarta.persistence.metamodel.Attribute
Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Returns: boolean ... boolean isCollection () Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Returns: boolean indicating whether the attribute is collection-valued. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.Root
testing for membership. Since: Jakarta Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean isCorrelated
|
|
jakarta.persistence.metamodel.IdentifiableType
Persistence (JPA) 1.0 boolean hasSingleIdAttribute () Whether the identifiable type has a single id ... : boolean indicating whether the identifiable type has a single id attribute. Since: Jakarta Persistence (JPA) 1.0 boolean hasVersionAttribute () Whether the identifiable type has a version attribute. Returns
|
|
jakarta.persistence.metamodel.EntityType
the identifiable type. Since: Jakarta Persistence (JPA) 1.0 boolean hasSingleIdAttribute ... false for an idclass. Inherited from IdentifiableType Returns: boolean indicating whether the identifiable type has a single id attribute. Since: Jakarta Persistence (JPA) 1.0 boolean
|
|
jakarta.persistence.metamodel.ListAttribute
. Since: Jakarta Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute collection-valued (represents
|
|
jakarta.persistence.metamodel.CollectionAttribute
: persistent attribute type. Since: Jakarta Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute
|
|
jakarta.persistence.metamodel.SetAttribute
Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute collection-valued (represents
|
|
jakarta.persistence.metamodel.MappedSuperclassType
the identifiable type. Since: Jakarta Persistence (JPA) 1.0 boolean hasSingleIdAttribute ... for an idclass. Inherited from IdentifiableType Returns: boolean indicating whether the identifiable type has a single id attribute. Since: Jakarta Persistence (JPA) 1.0 boolean hasVersionAttribute
|
|
jakarta.persistence.metamodel.MapAttribute
type. Since: Jakarta Persistence (JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute collection-valued
|
|
jakarta.persistence.metamodel.PluralAttribute
(JPA) 1.0 boolean isAssociation () Is the attribute an association. Inherited from Attribute Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 boolean isCollection () Is the attribute collection-valued (represents a Collection , Set
|
|
jakarta.persistence.criteria.From
: predicate testing for membership. Since: Jakarta Persistence (JPA) 1.0 boolean isCompoundSelection () Whether the selection item is a compound selection. Inherited from Selection Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 boolean
|
|
jakarta.persistence.Column
Persistence (JPA) 1.0 boolean unique (Optional) Whether the column is a unique key ... Since: Jakarta Persistence (JPA) 1.0 boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean insertable (Optional
|
|
jakarta.persistence.TypedQuery
() The query timeout. Inherited from Query Since: Jakarta Persistence (JPA) 3.2 boolean isBound ( Parameter param ) Return a boolean indicating whether a value has been bound to the parameter. Inherited from Query Parameters: param - parameter object Returns: boolean indicating whether parameter
|
|
jakarta.persistence.PersistenceUtil
(JPA) 2.0 Public Instance Methods boolean isLoaded ( Object entity , String attributeName ... Persistence (JPA) 1.0 boolean isLoaded ( Object entity ) Determine the load state of an entity
|
|
jakarta.persistence.Graph
in the graph or an empty list if none have been defined. Since: Jakarta Persistence (JPA) 1.0 boolean ... an attribute of this entity.. Since: Jakarta Persistence (JPA) 3.2 boolean hasAttributeNode ( Attribute
|
|
[ODB1] Chapter 6 - Persistent Objects
methods: boolean b1 = JDOHelper.isPersistent(obj); boolean b2 = JDOHelper.isTransactional(obj); boolean b3 = JDOHelper.isNew(obj); boolean b4 = JDOHelper.isDeleted(obj); boolean b5 = JDOHelper.isDirty
|
|
[ODB1] Chapter 3 - Persistent Classes
predefined system types are also persistent types: All the primitive types - boolean , byte , short , char , int , long , float and double . Selected classes in package java.lang : Boolean , Byte , Short
|