1. Issue the command Alter System Flush Shared_Pool;
2. Delete or change the cursor underlying objects statistics
3. Grant and/or revoke privileges on any of the cursor underlying objects
4. Alter cursor underlying objects
5. Bounce the instance
Alternatively we can either add dummy hint to the same query or change the query
text(such as replace small letters with capitals) to enforce hard parsing it.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16158219/viewspace-604052/ ,如需转载,请注明出处,否则将追究法律责任。