Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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.
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!