Query.Util.executeInDynamicQuerySession()

Signature

Object executeInDynamicQuerySession(String sqlString, Object mapOfParameters, boolean reuse)

Domain

ACTION

Description

Executes the sql string in the collocated, dynamic query session. Obviously the session should've been started beforehand.

Parameters

NameTypeDescription
sqlStringStringA valid snapshot query sql string.
mapOfParametersObjecttypes. Or, null if there are no bind parameters.
reusebooleanstring is automatically registered the first time (Query.Create(sql)).

Returns

TypeDescription
ObjectReturn a List of rows. Each row may be a single Object column or an an Object[] of columns.

Cautions

none