| [Data Definitions] | [Query Languages] | [JSP tag library: Intro | Listing | Forms] | [Business Logics] | [Summary] |
OQLThe database can be interrogated using the following language ( [] means optional, {} means any number of repetitions). OQL is similar to SQL, a specification can be found at http://www.odmg.org (or check this PDF). Makumba recognizes a subset of OQL at the moment, which it translates to the host SQL when necessary. SELECT expression [[AS] label] {, expression [[AS] label] }
Notations like If a label, representing a type, appears alone in an expression, a default field will be added. The default field depends on the type of the label:
In OQL, NULL values are named 'nil', example
ms.account_active=1 OR ms.account_active=nil In the future, the MDDs should use 'nil'
instead of null, e.g. nickName = not nil char[20]
Hibernate Query Language - HQL |