My Oracle Support Banner

Non Batchable Statement Causes Duplicate SQL and NullPointerException (Doc ID 1637612.1)

Last updated on MARCH 18, 2019

Applies to:

Oracle TopLink - Version 11.1.1.4.0 to 12.1.2.0.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

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.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.