Details of the Query Language

Home > Query Language > Details of the Query Language

A query is composed of an entity class extent and optional main clauses, namely "select", "where", "having" and "orderby".

First of all here's a very simple example: let's query for all persons of the database.

// Java Persistence Query Language
SELECT p
FROM Person p

// OOMEGA Query Language
Query(
   from(Person.CID)
);

Next chapter: Select and Group By

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.