aspose file tools*
The moose likes Object Relational Mapping and the fly likes queryHints for JPA 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "queryHints for JPA 2.0" Watch "queryHints for JPA 2.0" New topic
Author

queryHints for JPA 2.0

nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: queryHints for JPA 2.0