Occasionally, ClassCastException is reported. See the attachment for the contents of the exception. After checking the logic, no exception is found. On another server, the same code, ojdbc version is 7, there is no similar error.
For some reason, we are unable to upgrade the ojdbc version at this time. Have you encountered similar problems? Are you willing to help me find the cause?