After I upgrade hibernate in my application from 5.2.6 to 5.4.2 without modify any line of code. I got below exception.
From investigation found that, the exception occur in ScrollableResultsIterator.java class in hibernate lib itself. The exception occur on result is casting on result returning as below.
Windows 8, tomcat 9.0.17, JRE 1.8.0, oracle ojdbc7-184.108.40.206, springframework 5.1.5.RELEASE