Improving the javadoc of the already "semi-deprecated" setFilter method. Both JPA and Hibernate versions.