db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Antwort: complex query with torque
Date Mon, 15 Oct 2007 08:00:46 GMT
Hi,

I'd use Criteria.CUSTOM for that. See the section "Using the CUSTOM
modifier to use custom SQL" in

http://db.apache.org/torque/releases/torque-3.3
/runtime/reference/read-from-db.html

   Thomas

softmasters@gmail.com schrieb am 15.10.2007 03:07:28:

> Hello,
> how can I do the following query using torque?
>
> Select * FROM (tableA) where ((column1)*24+(column2))>(myvariable) ?
>
> thank you
> Regards.


---------------------------------------------------------------------
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