bug in NH1.2 with OnFlushDirty and collection state

11 views
Skip to first unread message

jr76

unread,
Oct 14, 2008, 6:17:13 PM10/14/08
to nhusers
Hi,

I'm finding that when OnFlushDirty is called, the previousState entry
is identical to the currentState for collection properties, even
though I have modified the collection. Has anyone encountered this
before? It seems like a bug. I tried a quick search on the jira but
didn't find anything. We're using NH1.2.

If this is in fact a bug in 1.2 and has since been fixed, are there
other means to access the previous state of the collection? Upgrading
to the latest version is not an option for us right now.

Thanks,
jon

ps. I notice that both the old forum and this list are quite
active... which is the better place to go for help?

Tuna Toksöz

unread,
Oct 15, 2008, 3:03:37 AM10/15/08
to nhu...@googlegroups.com
ps.  I notice that both the old forum and this list are quite
active... which is the better place to go for help?


The list.
--
Tuna Toksöz

Typos included to enhance the readers attention!

jr76

unread,
Oct 22, 2008, 3:14:57 PM10/22/08
to nhusers
I'll reply to my own post, in case anyone is interested. This is not
in fact a bug at all. The previousState and currentState are
identical because they both refer to the same collection object. In
order to compare changes in the "content" of the collection, one must
obtain the collection snapshot.

j

On Oct 14, 6:17 pm, jr76 <jresn...@gmail.com> wrote:
> Hi,
>
> I'm finding that whenOnFlushDirtyis called, the previousState entry
Reply all
Reply to author
Forward
0 new messages