OpenJPA Does Not Print Nested Exceptions Containing The ORA Exceptions
(Doc ID 1098665.1)
Last updated on JUNE 12, 2023
Applies to:Oracle WebLogic Server - Version 10.3 to 10.3
Information in this document applies to any platform.
Whenever OpenJPA captures an exception thrown by Oracle database (due to the triggering of a constraint in the database) it hides the error in a nested exception that it does not print in the logs. It then prints the following in the logs:
The nested exception, however, is never printed in the log and there's no way of knowing what triggered it.
Customer can only see the nested exception by turning on JDBC logging.
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