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

Last updated on MARCH 31, 2014

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

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.

Cause

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