JDBC - update many table on single submit

How to achieve a single value from web page to be updated/stored in many tables ?

Questions by rjk1203   answers by rjk1203

Showing Answers 1 - 6 of 6 Answers

G S

  • Nov 3rd, 2011
 

By using Transactions.

Every JDBC Driver will be able to perform Transactions. But its not recommended.

If we want to use out own Transactions we will set

con.setAutoCommit(false); and after executing the transactions we will execute con.commit();

  Was this answer useful?  Yes

sekhar

  • Mar 15th, 2012
 

To update data in multiple table using single click ,we can go with triggers in database.we have different types of triggers like after insert,after update,after delete.Better using triggers.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions