File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
How to insert record into multiple table uesing preparedStatement (one time i want to insert record)
Joined: Aug 10, 2009
Aug 25, 2009 23:30:26
In general at a time i am able insert record in a table ...But i dont have idea to insert record in multiple table at one time ...
Any one help me with coading ...if you can
Thanks to all
Joined: Oct 23, 2005
Aug 25, 2009 23:34:46
Start a transaction, use multiple prepared statements, then commit the transaction.
Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
subject: How to insert record into multiple table uesing preparedStatement (one time i want to insert record)
A question about transaction and CRUD operations.
Is it possible or not?
How Do I Insert records in multiple tables thru 1 SQL Query
Inserting multiple record into a database
How to rollback multiple prepared statements
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014