db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: how can i Insert data into multiple table at a time
Date Wed, 20 Aug 2008 07:18:15 GMT
>        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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message