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 | |
jakarta.persistence.criteria.CriteriaQuery.distinct(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true ... the return type of the corresponding AbstractQuery method. Parameters: distinct - boolean value | |
jakarta.persistence.SchemaManager.create(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.SchemaManager void create ( boolean createSchemas ) Create database objects mapped by entities belonging to the persistence unit. If a DDL operation fails, the behavior is undefined. A provider may throw an exception, or | |
jakarta.persistence.SchemaManager.drop(boolean) Jakarta Persistence (JPA) Method in jakarta.persistence.SchemaManager void drop ( boolean dropSchemas ) Drop database objects mapped by entities belonging to the persistence unit, undoing the effects of the previous creation . If a DDL operation fails, the behavior is undefined | |
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 | |
ObjectDB Object Database Features (for persistent fields) Primitive types ( boolean , byte, short, char, int, long, float, double). Wrapper types ( Boolean , Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types ... Types Primitives ( boolean , byte, short, char, int, long, float and double). Wrappers ( Boolean , Byte | |
Comparison in JPQL and Criteria API rather than object identity. boolean and Boolean values: Can be compared using the equality operators ( = , , == , != ). For Boolean instances, the comparison follows the logic of the equals () method. Enum | |
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 | |
JPA Metamodel API attribute: boolean hasSingleId = entityType. hasSingleIdAttribute (); // Gets a single ID attribute ... ); // Checks if the type has a version attribute: boolean hasVersion = entityType. hasVersionAttribute | |
Paths and Types in JPQL and Criteria API numbers, booleans , strings, and dates. Values of simple types are more useful in queries ... to collections, maps, or values of simple types (such as numbers, booleans , strings, and dates). For a path | |
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 | |
JPA Shared (L2) Entity Cache (); The Cache object lets you check if a specified entity is cached: boolean isCached = cache | |
Managing JPA Entities if a specified entity is in the persistence context: boolean isManaged = em. contains (employee); To clear | |
JPA Primary Key field can have one of the following 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.StoredProcedureQuery Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods boolean execute () Return true if the first ... back. Since: Jakarta Persistence (JPA) 1.0 boolean hasMoreResults () Return true if the next result ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0 boolean isBound | |
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 |