This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Annotation with hibernate and Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Annotation with hibernate and Spring" Watch "Annotation with hibernate and Spring" New topic
Author

Annotation with hibernate and Spring

Ankita Jha
Ranch Hand

Joined: Sep 15, 2008
Posts: 55

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Annotation with hibernate and Spring