transaction:
http://cayenne.apache.org/doc/understanding-transactions.html
(scroll to the bottom of the page, "User-Defined Transaction Scope"
section).
Andrus
On Apr 12, 2007, at 9:55 AM, Patric Lichtsteiner wrote:
Hi
Is there a posibility to seperate the Cayenne commitCh
Hi
Is there a posibility to seperate the Cayenne commitChanges from the
database transaction?
I'd like to call multiple commitChanges, and at the end I should be
able to decide if everything should go into the database or not.
Any ideas?
Thanks
Patric
ent t0
WHERE t0.ParentPathElementId IS NULL
=== returned 1 row. - took 0 ms.
SELECT t0.Name, t0.ParentPathElementId, t0.ID FROM PathElement t0
INNER JOIN PathElement t1 ON t0.ParentPathElementId = t1.ID WHERE
t1.ParentPathElementId IS NULL
=== returned 2 rows. - took 16 ms.
+++ transaction committed.
On
outer join patch.
On 1/18/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
Hmm... looks like a bug in the prefetch code. Could you possible open
a bug report, somebody will take a look.
http://issues.apache.org/cayenne
Thanks
Andrus
On Jan 18, 2007, at 11:14 AM, Patric Lichtsteiner wrote:
Hi
I'm using Cayenne 2.0.1 and I'm working with a model with a self join
like this:
The database scheme and the classes are correctly generated with this
definition. Inserting data with java code also works without problems,
but