Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

queryHints for JPA 2.0  RSS feed

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Hibernate, I can use this to comment a query


hints = @javax.persistence.QueryHint(name = "org.hibernate.comment", value = "..."))


you see, org.hibernate.comment is vendor-dependent.


Is there a equal name in JPA 2.0 which makes my Comment vendor-independent?

Where can I find the queryHints for JPA 2.0 ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!