Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

queryHints for JPA 2.0

 
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