Internal Website Search

1-10 of 200 resultsRefresh

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 the entity object - approveEmail, approvePhoneNumber, ... I can not sort ... boolean for operator + Please tell me how to do this? Thanks for your help

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

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

"> private boolean loaded = false; @Transient @Override public boolean isLoaded() { return loaded; } @Override public void setLoaded(boolean loaded ... the 'get' getter form: private boolean loaded = false

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

Logical Operators in JPQL and Criteria API

JPQL boolean expressions out of simple JPQL boolean expressions. Criteria Query Logical Operators Boolean Expressions and Predicates Boolean expressions are represented in criteria queries by

Literals in JPQL and Criteria Queries

of literals including NULL, boolean literals (TRUE and FALSE Boolean Literals Similarly to Java and SQL, JPQL supports two boolean ... a Java object and returns a literal expression. For example: // Boolean

[ODB1] Chapter 5 - JDO Connections

for a PersistenceManagerFactory can be done using boolean properties: properties ... ); pmf.setRestoreValues(true); // Using the getter methods: boolean flag1 = pmf.getOptimistic(); boolean flag2 = pmf.getNontransactionalRead(); boolean flag3 = pmf

[ODB1] Chapter 7 - JDOQL Queries

a persistent class) A filter, which is a boolean expression in a Java like syntax ... .2  Query Filter Syntax A query filter is a string containing a boolean ... > boolean true, false


="member method"> boolean boolean indicating if entity is in persistence context ... ="name">boolean_Class" title="Method of javax.jdo


boolean_Class" title="Method of javax.jdo.PersistenceManager">evictAll (boolean subclasses, Class  ... "> boolean