About logical

manual

Logical Operators in JPQL and Criteria API

Explains how to use AND, OR and NOT in JPQL queries. Logical operators in JPQL and in JPA criteria queries enable composition of ... This page covers the following topics: Logical Operators Binary AND (&&) Operator ... Unary NOT (!) Operator Criteria Query Logical Operators Logical Operators ObjectDB ...

 
manual

JPA Query Expressions (JPQL / Criteria)

Describes JPA query (JPQL / Criteria API) expressions (literals, operators and functions).... and the [NOT] LIKE operator. Logical operators : AND, OR, NOT. In addition, JPA queries ... Comparison in JPQL and Criteria API Logical Operators in JPQL and Criteria API Detailed explanations ...

 
manual

WHERE clause (JPQL / Criteria API)

Explains how to use the WHERE clause in a JPQL query.... operators (arithmetic operators, relational operators, logical operators) and functions (numeric functions, string functions, ... ) ) ; See the Logical Operators page for explanations on boolean expressions and ...

 
manual

JPA Criteria API Queries

Explains how to use the JPA Criteria API (CriteriaBuilder, CriteriaQuery, etc.) to build JPQL like queries.... JavaDoc Reference Page... , ...) Logical expressions ( and and(x, y) CriteriaBuilder's method ...

 
manual

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values. Most JPQL queries use at least one comparison operator in their WHERE clause. This page covers the following topics: Comparison Operators Comparing NULL values IS [NOT] NULL Comp ...

 
forum_thread

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping Tomcat, I get nasty exception - please check attached log. Strange thing is, that after this exception everything works perfectly fine. The problem appears after using Enhancer. The nasty solution is to create copy of @Entity class as normal POJO and use it to store in session. The problem is, that we need the same logic for temporary users (without storing in DB) and permanent users (stored in database). A separate POJO makes the whole logic quite complicated. #1 2010-12-13 14:42 Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping ...

 
forum_thread

Problem with distinct select, order by and equivalent alias/attribute path

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: #1 2016-01-10 10:19 Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering ...

 
issue

Add Type level permissions to ObjectDB Server

It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could create transient entities for data that does require additional business logic though. Feature Request Version: 2.5.7 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? ... persistence units, and support some syntax that replaces a logical path with a parameter (similar to $objectdb in the url) with a value ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: #1 2015-02-11 03:52 Hi, I came across an error - but i have not been able to create a simple reproducible case - the error do ...