Transactions & Parent/Child objects.


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
I may be missing something, but saving objects with a parent child relationship under a transaction does seem to work properly. Attached is a simple example. It consists of one parent object with two child objects. When the three objects are saved outside of a transaction, everything works as expected. However when they are saved under a transaction, the framework saves the parent three times.

-Larry

Attachments
TranTest.zip (144 views, 759.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search