Non Batchable Statement Causes Duplicate SQL and NullPointerException
Last updated on MARCH 31, 2014
Applies to:Oracle TopLink - Version 220.127.116.11.0 to 18.104.22.168.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.
An EclipseLink application is running on Weblogic using JTA with JDBC batch writing and using Oracle VPD to achieve multi-tenancy (As per the document on how to use OracleVPD, click here).
As example settings in persistence.xml file :
Note that these issues can be avoided if you set JDBC batch writing to Buffered or None.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms