• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Named Queries when using POJO Annotation classes

 
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!