- TIBCO BusinessEvents®
- CEP Query
- Query
- Util

# Query.Util.executeInDynamicQuerySession()

## Signature

`Object executeInDynamicQuerySession(String sqlString, Object mapOfParameters, boolean reuse, long timeout,boolean isNativeQueryRawResults)`

## Domain

ACTION

## Description

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

## Parameters

Name | Type | Description
--- | --- | ---
`sqlString` | `String` | A valid snapshot query sql string.
`mapOfParameters` | `Object` | types. Or, null if there are no bind parameters.
`reuse` | `boolean` | string is automatically registered the first time (Query.Create(sql)).
`timeout` | `Long` | Optional Timeout value in milliseconds; default is no timeout(-1)
`isNativeQueryRawResults` | `boolean` | Optional isNativeQueryRawResults to enable raw type results in native query; default is false

## Returns

Type | Description
--- | ---
`Object` | Return a List of rows. Each row may be a single Object column or an an Object[] of columns.

## Cautions

none