Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotation with hibernate and Spring

Ankita Jha
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello ranchers,
Can any one provide me a with working example of Annotation integrated with hibernate and spring.
What are the jar files that will be needed for using annotations.
What i mean, is an example Java file with all import statements.
As far as my knowledge is concerned i guess i'll need 3 jars :-hibernate-commons-annotations.jar,hibernate-annotations.jar,ejb3-persistence.jar
Of these three which is the one that we actuaaly use while creating POJOS

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic