Skip to content

Commit

Permalink
HSEARCH-3277 Remove mentions of native ORM Criteria
Browse files Browse the repository at this point in the history
They've been removed in 6.0, apparently.

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere committed Oct 6, 2022
1 parent 06d5fd4 commit 40c93b3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/config/src/main/resources/forbidden-public.txt
Expand Up @@ -35,11 +35,6 @@ org.jboss.logging.processor.util.Objects @ Bad import, use java.util.Objects
################################################################################################################
# Unsafe API/SPI from Hibernate ORM
org.hibernate.SharedSessionContract#getTransaction() @ Using this method is often unsafe
org.hibernate.SharedSessionContract#createCriteria(java.lang.Class) @ Native Criteria are deprecated
org.hibernate.SharedSessionContract#createCriteria(java.lang.Class, java.lang.String) @ Native Criteria are deprecated
org.hibernate.SharedSessionContract#createCriteria(java.lang.String) @ Native Criteria are deprecated
org.hibernate.SharedSessionContract#createCriteria(java.lang.String, java.lang.String) @ Native Criteria are deprecated
org.hibernate.criterion.** @ Native Criteria are deprecated
org.hibernate.jpa.QueryHints @ Hibernate ORM's QueryHints constants may not be correct for Jakarta artifacts.
org.hibernate.annotations.QueryHints @ Hibernate ORM's QueryHints constants may not be correct for Jakarta artifacts.
org.hibernate.service.ServiceRegistry#getService(java.lang.Class) @ Use HibernateOrmUtils.getServiceOrFail(...) or HibernateOrmUtils.getServiceOrEmpty(...) instead
Expand Down

0 comments on commit 40c93b3

Please sign in to comment.