IllegalStateException: incorrect_query_for_execute_update Is Thrown When Insert/update To Stored Procedure In Entity Class
(Doc ID 2586329.1)
Last updated on SEPTEMBER 25, 2020
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
IllegalStateException is thrown when EJB application try to insert/update record to DB through stored procedure. But Different behavior existed when deploying same application EAR on WLS 11G & 12C.
No problem when retrieve data from DB through stored procedure
No problem when insert/update record in 11G ,but not work in 12C
The following coding is tested.
=> exception is thrown
2. EntityManager em;
=> record can be inserted
Below is the complete stack trace observed:
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