Several methods in the interface org.hibernate.query.Query are inherited from the @Deprecated org.hibernate.Query interface, but are not marked as deprecated in org.hibernate.Query and not @Override in org.hibernate.query.Query. These include scroll() and setParameterList(). When used, these methods are flagged as Deprecated by the compiler due to their declaration in org.hibernate.Query. However, these are still used internally by non-deprecated methods in AbstractProducedQuery, and scroll() does not have a non-deprecated equivalent. If these are not deprecated, please @Override them in org.hibernate.query.Query. If they are, please add deprecation notes in the javadoc for replacements. |