ObjectDB ObjectDB

Internal Website Search

1-10 of 40 resultsRefresh
427

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 of logical operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR
55

JPA Query Expressions (JPQL / Criteria)

] MEMBER [OF] and the [NOT] LIKE operator. Logical operators: AND, OR, NOT. In addition, JPA queries ... , isMember, isNotMember, size). Comparison expressions (equal, notEqual, gt, ge, lt, le, between, isNull, ...) Logical expressions (and, or, not, isTrue).
40

Comparison in JPQL and Criteria API

to <>. When at least one of the two operands is NULL, == and != implement the ordinary Java logic, in which, for example, null == null is true. All the other operators implement the SQL logic in which NULL represents an unknown value ... follow the logic of Java's equals, comparing the content rather than the identity. Date values
25

WHERE clause (JPQL / Criteria API)

, which includes many operators (arithmetic operators, relational operators, logical operators ... ),          cb.lt(c.get("area"), a)     ) ); See the Logical Operators page for explanations on boolean
18

ObjectDB Object Database Features

(<, <=, >=, <>, =, !=, ==, BETWEEN, IS NULL). Logical operators (AND, OR, NOT, &&, ||). Arithmetic operators
18

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in
18

JPA Criteria API Queries

expressions (equal, notEqual, gt, ge, lt, le, between, isNull, ...) Logical expressions (and, or, not
2

[ODB1] Chapter 7 - JDOQL Queries

, double). Logical Operators Logical operators (&&, ||, !) generate complex boolean expressions
0

jdoPreDelete()

after this call are disallowed. This method is modified by the enhancer so that fields referenced can be used in the business logic of the method. Since: JDO 2.0
0

javax.jdo.listener.DeleteCallback

so that fields referenced can be used in the business logic of the method. Since: JDO 2.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support