wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
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?