INFO message "HHH000121: Ignoring unrecognized query hint" from Hibernate
Issue
- The following message is observed in the log
INFO [org.hibernate.ejb.AbstractQueryImpl] ... HHH000121: Ignoring unrecognized query hint [hibernate.max_fetch_depth]
- The message appears when the following code is executed
entityManager.createQuery("from Event e").setHint("hibernate.max_fetch_depth", "1")
- The same code did not result in a log message in EAP 5 (Hibernate 3)
Environment
- Red Hat JBoss Enterprise Application Platform 6
- Hibernate 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.