JWP produces forced trace logs

Document ID : KB000087874
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.sql.SQLDataException: ORA-01424: missing or illegal character following the escape character

The Java-based work process (JWP) produces forced traces with the above error message when run on an Oracle database.
 
The reason for this is the following:

In the JDBC escape syntax (http://docs.oracle.com/javadb/10.6.2.1/ref/rrefjdbc28456.html) the escape character needs to be doubled when it is part of the user input. 

If this is not done the Oracle database returns an error message. In this case the AWI/API does not get a reply message and a forced trace is written.
Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The JWP produces forced traces when run on a Oracle Database.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation Engine 12.0.2 - Available
Automation Engine 12.0.1 - Available
Automation Engine 12.0.0 HF4 - Available
Additional Information:
Workaround :
N/A