We're updating the issue view to help you get more done. 

Interceptor currentState and previousState for collections in onFlushDirty

Description

Just wondering whether there was any way of knowing a collection size modification in the interceptor method onFlushDirty.
I have a collection that has an entity added to it, but as the set itself has purely been added to rather than replaced, both the previousState and currentState values are the same.
We would like to audit the fact that items are added to or removed from the collection.

Environment

Hibernate 3.1 rc2, SqlServer 2005

Status

Assignee

Unassigned

Reporter

Barbara Worwood

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.1 rc2

Priority

Minor