Configuring pureQuery API applications to run SQL statements statically

To execute pureQuery code with static SQL, you must set the executionMode property to "STATIC".

Before you begin

The package that contains the static SQL must be bound to the database that the application uses. If you set the executionMode property to "STATIC", but the package is not bound, pureQuery throws an exception. pureQuery does not revert to dynamic SQL.

Procedure

To set the execution mode to STATIC, use one of the following methods:


Feedback