Strong Liu commented on Bug HHH-7501

org.hibernate.loader.Loader#doQuery method

final ResultSet rs = executeQueryStatement( queryParameters, false, session );
final PreparedStatement st = (PreparedStatement) rs.getStatement();

no idea why we cast this to PreparedStatement, we don't use the method in this interface, only java.sql.Statement#close

and Oracle driver does return an Statement instance, not PreparedStatement

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira