diff --git a/hibernate-core/src/main/java/org/hibernate/Session.java b/hibernate-core/src/main/java/org/hibernate/Session.java index 5a558b1a3a..e16b9b9f59 100644 --- a/hibernate-core/src/main/java/org/hibernate/Session.java +++ b/hibernate-core/src/main/java/org/hibernate/Session.java @@ -683,8 +683,9 @@ public interface Session extends SharedSessionContract, EntityManager, Hibernate * * @return The query instance for manipulation and execution * - * @deprecated (since 5.3) + * @deprecated (since 5.3) with no real replacement. */ + @Deprecated org.hibernate.Query createFilter(Object collection, String queryString); /**