db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: Criteria to insert into from select?
Date Sat, 05 May 2007 11:01:43 GMT
Sorry, Torque does not support this (yet? Paches appreciated). Do you know 
whether it is standard SQL ? I know it works with mysql, but i have no 
idea about other databases.

     Thomas

On Wed, 18 Apr 2007, Brendan Miller wrote:

>
> Here's another Criteria question.  Is it possible to express
>
>    INSERT INTO table (...) SELECT ... FROM anotherTable WHERE...
>
> using Criteria and doInsert()?
>
> (I don't think so--I fully expect a "Torque is an OM mapper, and you're
> not doing any mapping there" response.)
>
> Brendan
>
> ---------------------------------------------------------------------
> 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