Hi Andrus, I did in fact forget about that.

I was looking for an easy way to recreate parts of the object network to transfer between stages of our application. E.g. create SQL for a data set to insert it in the development db for testing.  

Tobias


Andrus Adamchik <[EMAIL PROTECTED]>

Thursday, 21 February 2008 14:38

Please respond to
user@cayenne.apache.org

To
user@cayenne.apache.org
cc
Subject
Re: how to get update/insert SQL without committing to db





Hi Tobias,

Could you elaborate a bit on how are you going to use this SQL? SQL  
generated by Cayenne is in a PreparedStatement format, so it will not  
be usable for say manual execution from a SQL client.

Andrus



On Feb 21, 2008, at 2:55 PM, Tobias SCHOESSLER wrote:
> Hi,
>
> is there a way to get the update/insert SQL statements ( e.g. as a  
> String ) that cayenne would execute with a commit,  without actually  
> committing to the db?
>
> thank you
>
> Tobias


Reply via email to