File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Example CRUD Operation on Struts 2, Hibernate(One-to-Many),Spring

 
Gowtham Subramaniam
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm working for Company. I need to work on the Concept of Hibernate Mapping with Struts Integration and Spring for Insertion,Deletion,Updation and Viewing.
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There a loads of examples out there about these on the web. What is the purpose(s) using Struts and Spring together?
 
Gowtham Subramaniam
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you first learn how to map different relationships in Hibernate as explained here. Then worry about Spring/Struts integration etc...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic