How to send html form data from one form to multiple database tables
Posted
by
user1701556
on Stack Overflow
See other posts from Stack Overflow
or by user1701556
Published on 2012-09-26T21:35:58Z
Indexed on
2012/09/26
21:37 UTC
Read the original article
Hit count: 277
I am able to send html form data to database using hibernate. I am using mySQL, Hibernate, Java 1.6, Spriong 3.0. But I would like to send that same data to multiple tables in the database. My issue is that I want to use only one html form not multiple html form.
I have these tables: name, address, email, login, phone_num. From this one html form I want data to go to different tables depending on what the data is. I want to do it using Hibernate so that I am not manually taking form data and inserting it in the database.
Please let me know if this is possible.
© Stack Overflow or respective owner