Hi, "Are you holding hard references to the instances that are being deleted?"
Yes, each object to be deleted has about 4 references to it, either 1-to-1 or 1-to-many. As you can see in myDelete() I first update these references (setting them to null or removing them from the collection), then perform a flush() then do the actual delete, and then again a flush(). They are only referenced by other PC objects; "Are you running the OpenJPA enhancer over your types?" Yes, when compiling my classes I run the ant task <jdoc> All classes involved in the delete are enhanced classes. kind regards, Christiaan -- View this message in context: http://www.nabble.com/Performance%3A-single-vs-multiple-transactions-tf4272115.html#a12200971 Sent from the OpenJPA Users mailing list archive at Nabble.com.
