Tutorials4u.net Forum
hibernate with multiple tables - Printable Version

+- Tutorials4u.net Forum (http://www.tutorials4u.net/forum)
+-- Forum: Discussion Forum (/forumdisplay.php?fid=1)
+--- Forum: Struts (/forumdisplay.php?fid=5)
+--- Thread: hibernate with multiple tables (/showthread.php?tid=70)


hibernate with multiple tables - pavaniakella - 01-06-2011 10:41 PM

Hi,
I am new to hibernate integration with struts. I went through your tutorial @
http://www.tutorials4u.net/struts2-tutorial/struts2_hibernate_integration.html
I have one question If a form contains fields from two tables.
How to work ?

Regards,
Pavani


RE: hibernate with multiple tables - tutorials4u - 01-24-2011 09:40 AM

(01-06-2011 10:41 PM)pavaniakella Wrote:  Hi,
I am new to hibernate integration with struts. I went through your tutorial @
http://www.tutorials4u.net/struts2-tutorial/struts2_hibernate_integration.html
I have one question If a form contains fields from two tables.
How to work ?

Regards,
Pavani


You can refer this example http://www.tutorials4u.net/hibernate-tutorial/hibernate_mapping_many_to_one.html