[hibernate-dev] CollectionEntry.snapshot And PersistentCollection Queued Operations

2013-01-14 Thread John Walker
I've found that under certain circumstances with Hibernate 3.6.10, a PersistentCollection's queuedOperations will be executed *prior* to the CollectionEntry::snapshot being taken. As a result, the snapshot includes the results of any queued operations. (Including transient items added by a SimpleAd

[hibernate-dev] Should CollectionEntry::snapshot Include The Results Of Queued Operations?

2013-01-21 Thread John Walker
In hibernate 3.6.10, CollectionEntry::snapshot is sometimes initialized after queued operations (SimpleAdd, Clear,etc) are processed. As a result, the snapshot can contain transient entities, and does not accurately reflect the state of the collection in the database. Is this intentional, or shou

Re: [hibernate-dev] Should CollectionEntry::snapshot Include The Results Of Queued Operations?

2013-01-22 Thread John Walker
ueued operations including SimpleAdd's are carried into the CollectionEntry's initial snapshot, which seems like a bug. -John > -Original Message- > From: Steve Ebersole [mailto:steven.ebers...@gmail.com] On Behalf Of > Steve Ebersole > Sent: Tuesday, January 22, 2013 7:0