About boolean

1-10 of 200Refresh
Manual
101

Logical Operators in JPQL and Criteria API

Logical operators in JPQL and in JPA criteria queries enable composition of complex JPQL boolean expressions out of simple JPQL boolean expressions. Logical Operators ObjectDB supports 2 sets ... part of its JDO support. Criteria Query Logical Operators Boolean Expressions and Predicates Boolean
Manual
74

Database Schema Evolution

that are stored as numeric ordinal values (the default). From any type to Boolean or boolean (0, null
Manual
74

JPA Persistable Types

: boolean, byte, short, char, int, long, float and double. Equivalent wrapper classes from package java.lang: Boolean, Byte, Short, Character, Integer, Long, Float and Double. java.math.BigInteger
Issue
49

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

encounter ObjectDB enhancement errors: private boolean loaded = false; @Transient @Override public boolean isLoaded() { return loaded; } @Override public void setLoaded(boolean loaded) { this.loaded = loaded; } No matter whether using
Forum
36

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 queries
Issue
35

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 change ... { private boolean instruction = false; private boolean registration = false; private
Forum
33

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
Manual
28

Literals in JPQL and Criteria Queries

including NULL, boolean literals (TRUE and FALSE), numeric literals (e.g. 100), string literals (e.g ... explained in the Comparison Operators page. Boolean Literals Similarly to Java and SQL, JPQL supports two boolean literals - TRUE and FALSE. Since JPQL is case insensitive, TRUE is equivalent to true
Result
21

ObjectDB Object Database Features

(boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character ... a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short, char, int, long, float and double). Wrappers (Boolean, Byte, Short, Character, Integer, Long, Float and Double). java.lang.String
Manual
21

WHERE clause (JPQL / Criteria API)

, the WHERE clause gets an opportunity to function as a filter. The boolean expression in ... functions). The WHERE predicate is always a boolean JPQL expression. JPQL expressions are also used ... Restriction The first where method takes one Expression<Boolean> argument and uses it as