About expression

issue

Alias not used in ORDER BY

Hi, I am doing something simple like final Root<T> from = criteria.from(T.class) final Path<?> path = from.get("someStringProperty") final Expression<String> upperPath = builder.upper((Expression<String>) path); upperPath.alias("TEST"); criteria.multiselect(from, path); criteria.orderBy(builder.asc(upperPath)) I would have expected the alias to be used in the ORDER BY clause, something like ... get ( "someStringProperty" ) final Expression<String> upperPath = builder. upper ( ( Expression<String> ) path ) ; upperPath. alias ( ...

 
issue

JPQL Case Statements (JPA 2.0)

JPQL 2.0 adds support of CASE statements in queries for conditional expressions (similar switch/case/default in Java), following the SQL syntax. Case statements are currently not supported by ObjectDB. JPA Feature Version: 1.04 Priority: Normal Status: Active Replies: 1 Type:  JPA Feature ...

 
api-jdo

setResult(data)

Specifies what type of data this query should return.(Method of javax.jdo.Query)

 
api-jpa

value(value)

Add an argument to the coalesce expression.(Method of javax.persistence.criteria.CriteriaBuilder.Coalesce)

 
forum_thread

Problem witch CriteriaBuilder isMember(..)

Dear Objectdb-Team I have some Problems running a criteria query against a set. But maybe I misunderstood some essentials I have defined an entity class and an embeddable class like this ... , 99 ) Predicate test_predicate = expression. in ( uid1_list ) ; // works fine Predicate test_predicate = expression. in ( uid2_list ) ; // fails, only if running ...

 
release

2.4.3

Release date: 2012-08-26 Download (5.4 MB) Binary:  objectdb-2.4.3.zip You should start by following a  tutorial or reading the manual ...

 
release

2.4.1

Release date: 2012-06-16 Download (5.4 MB) Binary:  objectdb-2.4.1.zip You should start by following a  tutorial or reading the manual ...

 
release

2.2.3

Release date: 2011-04-29 Download (5.07 MB) Binary:  objectdb-2.2.3.zip You should start by following a  tutorial or reading the manual ...

 
release

2.4.2

Release date: 2012-07-22 Download (5.4 MB) Binary:  objectdb-2.4.2.zip You should start by following a  tutorial or reading the manual ...

 
api-jpa

javax.persistence.criteria.Selection

The Selection interface defines an item that is to be returned in a query result.(Interface of JPA)