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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "queryHints for JPA 2.0" Watch "queryHints for JPA 2.0" New topic

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
Similar Threads
Toplink witth JPA vs Toplink API
What about findByExample in JPA book?
EJB 3.0 call stored procedure
Specifications version for the JPA exam
Difference between JPA 1.0 and JPA 2.0?