Home > Net >  Deprecated: Hibernate setHint
Deprecated: Hibernate setHint

Time:07-01

According to the Hibernate 5.2 doc, Hibernate Query setHint is deprecated now. Is there an alternative to that now?

CodePudding user response:

If you scroll to the top of the document, you can see that using org.hibernate.Query is deprecated since 5.2. You can use org.hibernate.query.Query instead. Here's the new documentation.

  • Related