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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 ?
 
wood burning stoves
 
subject: queryHints for JPA 2.0
 
Similar Threads
Difference between JPA 1.0 and JPA 2.0?
Specifications version for the JPA exam
What about findByExample in JPA book?
EJB 3.0 call stored procedure
Toplink witth JPA vs Toplink API