db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivano Luberti <lube...@archicoop.it>
Subject get the SQL to be executed
Date Wed, 18 Jan 2012 16:31:05 GMT
Hello all, is there a way in Torque to get the SQL that is sent to the DB.
I have to generate a txt file where I save queries basically INSERT
statements of long records.
I was thinking of create the Torque classes, populate the objects with
data that I get from a local instance of the DB and then, instead of
using a save command, get the SQL that would be executed and store it in
a file.

Alternatively I could use this:

http://openhms.sourceforge.net/sqlbuilder/

but has dependencies that requires GPL license and I would avoid in this
case that kind of license.



-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message