Error "17003 Invalid Column Index" When Using the Pure SQL Option Within the Database Adapter
Last updated on NOVEMBER 03, 2017
Applies to:Oracle SOA Suite - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
While executing the Pure SQL option with a DB Adapter, a dynamic parameter is attempted to be passed as an input, however, the parameter is not getting assigned to the input as expected but rather the '?' character is being assigned. The following error is generated during runtime.
Pure SQL Exception.
Pure SQL Execute of SELECT
... // truncated SQL statement
Caused by java.sql.SQLException: Invalid column index.
The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead. This exception is considered not retriable, likely due to a modeling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-17003" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms