EclipseLink 1.0.2 Throws "SqlException: Closed Statement" (Doc ID 1060610.1)

Last updated on MARCH 06, 2015

Applies to:

Oracle TopLink - Version 11.1.1.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Apr-2012***


Symptoms

You are using Oracle AS with EclipseLink 1.0.2 as the JPA implementation. You have noticed that on the first execution after your deployment, you receive the following exception:

Exception [EclipseLink-4002] (Eclipse Persistence Services): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Closed Statement
Error Code: 17009


However, the second execution of the application runs fine.

* TopLink 11.1.1.0.1 ships with EclipseLink 1.0.2

Changes

Upgraded to TopLink 11.1.1.0.1.

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