RE: how can i Insert data into multiple table at a time
Thomas Fischer <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <OF9D6FA7F4.74B5FBF4-ONC12574AB.0027C303-C12574AB.00282034@seitenbau.net> |
> i am new to apache torque. How can i insert data in to
> multiple table at one time hit.
Hm, I do not know what you mean by that. Please make yourself familiar
with the appropriate Database concepts (update/insert and transaction).
These are supported by Torque.
> Actually i have a form to get the
> user's input and need to insert data in multiple table
I'd open a transaction, save the data, and commit the transaction.
http://db.apache.org/torque/releases/torque-3.3/runtime/reference/write-to-db.html
http://db.apache.org/torque/releases/torque-3.3/runtime/reference/connections-transactions.html
Thomas