db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: Convert sql string to criteria
Date Mon, 29 Mar 2004 14:07:20 GMT
The main idea of Torque is that you do not have to mess up with SQL
statements any more.
That is the idea of abstraction of torque persistence layer.
But you can still go to lower level and to compose new Criteria
based on some parsed SQL statement ..but it will be not so easy i suppose ..
you will have to do a little bit of the work of the SQL parser that persists
in any db server..
do you really need that ?
I mean are you going to use this coversion just to convert your SQL
statements that you have now and
want to convert to Criteria ? or you will need runtime conversion from SQL
to Criteria Object ?

regards,
bogdan

----- Original Message -----
From: "Sez Sez" <sezmillenium@yahoo.es>
To: <torque-user@db.apache.org>
Sent: Monday, March 29, 2004 4:52 PM
Subject: Convert sql string to criteria


> Somebody has a function to convert to sql string to
> criteria??? Thanks!
>
> ___________________________________________________
> Yahoo! Messenger - Nueva versión GRATIS
> Super Webcam, voz, caritas animadas, y más...
> http://messenger.yahoo.es
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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