Re: Imports

2008-02-17 Thread Malcolm Edgar
Hi Ari, thanks for the response. This would be a very good 3.0 feature if it is not already present. In Hibernate this functionality is performed as a flush operation, where CRUD operations are performed against the transaction but are not actually committed. Would this would cause issues with

Re: Imports

2008-02-17 Thread Aristedes Maniatis
On 18/02/2008, at 2:07 PM, Malcolm Edgar wrote: Is there a way in Cayenne, possibly using Transactions, that we can perform this import, do inserts and queries against the transaction and only commit/rollback at the end? Subclass the Cayenne context, override performQuery and add in your ow

Imports

2008-02-17 Thread Malcolm Edgar
Hi All, We had an issue a while ago where we were performing an large XML import into a database using Cayenne. What we wanted to do was to insert data, as we parsed the XML, because in latter code we wanted to perform SQL queries to determine the existence of records. The import was not into an