aspose file tools*
The moose likes Object Relational Mapping and the fly likes Urgent : Example CRUD Operation on Struts 2 forms, Hibernate Relationship Mappings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

Urgent : Example CRUD Operation on Struts 2 forms, Hibernate Relationship Mappings

Gowtham Subramaniam
Greenhorn

Joined: Feb 16, 2012
Posts: 10
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-to-one> in "two or three differenet HBM files". Confused in primary key and Foreign key concepts !! Please send some real time examples
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Recommended reading
http://www.coderanch.com/how-to/java/EaseUp
http://www.coderanch.com/how-to/java/NotACodeMill
http://www.hibernate.org/ (check out the section called getting started)

Also, please do not post, essentially the same question, multiple times. Let us continue the discussion here http://www.coderanch.com/t/568677/ORM/java/Example-CRUD-Operation-Struts-Hibernate

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent : Example CRUD Operation on Struts 2 forms, Hibernate Relationship Mappings