HQL Methods

The Hibernate Query Language (HQL) methods return a single or multi-dimensional array of values or entities, based on what the HQL query returns. If you are sure that only one record exists that matches this filter criteria, specify unique=true so that a single entity is returned instead of an array.

If unique=true and multiple records are returned, then an exception is thrown.

Note: entityname and properties used in HQL are case sensitive.
The following HQL methods are available:
  • ORMExecuteQuery(hql, [,unique] [, queryoptions])

  • ORMExecuteQuery(hql, params [,unique] [,queryOptions])

  • ORMExecuteQuery(hql, namedparams [, unique] [, queryOptions])