[TOPLINK-4002] Database SQLException (Doc ID 794701.1)

Last updated on AUGUST 15, 2016

Applies to:

Oracle TopLink - Version 9.0.4.1 and later
Information in this document applies to any platform.
***Checked for relevance on 6-Mar-2014*** : Version affected Toplink 11.1.1.6.0, 12.1.2.0.0

Symptoms

Database Exception [TOPLINK-4002] is a run-time exception that is raised when data read from the database, or the data that is to be written to the database, is incorrect. It normally, acts as a wrapper for an underlying SQLException. This exception message contains a reference to the real error code and error message.

This exception can occur on any database operation. If an execution of a SQL script is involved in a database operation causing a Database Exception, the exception's message, is accessible through the getMessage method, and contains the SQL that caused this exception.

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