Skip to content
Devender Yadav edited this page Jan 6, 2016 · 7 revisions

Below table lists different JPA query language constructs and whether they are supported for given datastore in Kundera.

JPA-QL Clause Cassandra HBase MongoDB Neo4j Redis OracleNoSQL RDBMS Couchdb
SELECT ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
UPDATE ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
DELETE ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
ORDER BY X X ✔ X X X ✔ X
AND ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
OR X (Yes with Lucene) ✔ ✔ ✔ ✔ ✔ ✔ X
BETWEEN ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
LIKE X (Yes with Lucene) ✔ ✔ ✔ X X ✔ X
IN X X X X X X X X
= ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
> ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
< ✔ ✔ ✔ ✔ ✔ ✔ ✔ X
>= ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
<= ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔

Please Note:

  • Kundera supports all above query operations/ clauses on primary key attributes (@Id) and column attributes (@Column).
  • Queries that contain combination for primary key attribute and columns are supported.

Examples on using JPQL can be found here.

Home

Clone this wiki locally