QueryImpl

Implementation of HibernateD Query

Constructors

this
this(SessionImpl sess, string queryString)
Undocumented in source.

Members

Functions

getQueryString
string getQueryString()

Get the query string.

listObjects
Object[] listObjects()

Return the query results as a List of entity objects

listObjects
Object[] listObjects(Object placeFirstObjectHere)

Return the query results as a List of entity objects

listObjects
Object[] listObjects(Object placeFirstObjectHere, PropertyLoadMap loadMap)

Return the query results as a List of entity objects

listRows
Variant[][] listRows()

Return the query results as a List which each row as Variant array

setParameterVariant
Query setParameterVariant(string name, Variant val)

Bind a value to a named query parameter.

uniqueObject
Object uniqueObject()

Convenience method to return a single instance that matches the query, or null if the query returns no results.

uniqueObject
Object uniqueObject(Object obj)

Convenience method to return a single instance that matches the query, or null if the query returns no results. Reusing existing buffer.

uniqueRow
Variant[] uniqueRow()

Convenience method to return a single instance that matches the query, or null if the query returns no results.

Variables

params
ParameterValues params;
Undocumented in source.
query
ParsedQuery query;
Undocumented in source.
sess
SessionImpl sess;
Undocumented in source.

Inherited Members

From Query

getQueryString
string getQueryString()

Get the query string.

uniqueObject
Object uniqueObject()

Convenience method to return a single instance that matches the query, or null if the query returns no results.

uniqueObject
Object uniqueObject(Object obj)

Convenience method to return a single instance that matches the query, or null if the query returns no results. Reusing existing buffer.

uniqueResult
T uniqueResult()

Convenience method to return a single instance that matches the query, or null if the query returns no results.

uniqueResult
T uniqueResult(T obj)

Convenience method to return a single instance that matches the query, or null if the query returns no results. Reusing existing buffer.

uniqueRow
Variant[] uniqueRow()

Convenience method to return a single instance that matches the query, or null if the query returns no results.

listObjects
Object[] listObjects()

Return the query results as a List of entity objects

list
T[] list()

Return the query results as a List of entity objects

listRows
Variant[][] listRows()

Return the query results as a List which each row as Variant array

setParameterVariant
Query setParameterVariant(string name, Variant val)

Bind a value to a named query parameter (all :parameters used in query should be bound before executing query).

setParameter
Query setParameter(string name, T val)

Bind a value to a named query parameter (all :parameters used in query should be bound before executing query).

Meta