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
org.hibernate.loader.Loader#doQuery method
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