• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Named Queries when using POJO Annotation classes  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using Hibernate Annotations PoJO classes (so no hbm files). Please let me know how can i use Hibernate Named Queries in this case ??


Thank you.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you google for this information? A simple search on "Hibernate Annotations named queries" returns the documentation on how this can be done.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!