Friday, 4 February 2011

ORA-28112: failed to execute policy function


ORA-28112: failed to execute policy function
Cause: The policy function has one or more error during execution.
Action: Check the trace file and correct the errors.
Some instatnce are not closed and it reached to max size
My case I was not closed the preparestatemet and it was in loop and reached to max size
At end of code, closed it
PreparedStatement insertStatement = null;
insertStatement = dBConnection.prepareStatement(query);
—-
insertStatement.clearParameters();
insertStatement.close();

No comments:

Post a Comment