This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Lot of Examples are there. But,Explaining only about Hibernate with Simple Java Program. I need to achieve it by transfer data from Struts 2 Forms using on the Concept of Hibernate Mapping(One-to-Many,one-to-one,many-to-many relationships[Unidirectional,bi-directional] ) with Struts Integration and Spring for Insertion,Deletion,Updation and Viewing. I'm facing problem on how to implement,where to insert the tag of <one-to-many> or <many-o-one> in two differnet HBM files. Confused in primary key and Foreign key concepts !! Please send some real time examples