ORMExecuteQuery

Description

Runs queries based on the Hibernate Query Language (HQL) directly on a database.

Returns

array of objects

Category

ORM functions

Function Syntax

ormExecuteQuery( hql [,unique] [,queryoptions])

See Also

Using queries topic in the ColdFusion ORM chapter of the Developing ColdFusion Applications

Parameters

Parameter

Description

hql

The HQL query to be executed.

unique

Specifies if the object parameter is unique

queryoptions

The object parameters for the entity.

Example

For detailed examples see Using queries.