Non Batchable Statement Causes Duplicate SQL and NullPointerException
(Doc ID 1637612.1)
Last updated on MARCH 18, 2019
Applies to:Oracle TopLink - Version 188.8.131.52.0 to 184.108.40.206.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document