add API to AbstractCollectionEvent for accessing CollectionPersister
--------------------------------------------------------------------
Key: HHH-6882
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6882
Project: Hibernate Core
Issue Type: Improvement
Environment: any
Reporter: Krasimir Chobantonov
When collection events are fired by Hibernate and the collection is not initialized
because it was not PersistenceCollection or it was null then the listener will get the
event but there is no way to tell which property of the entity is being changed. Because
the collection is null then we can't get the collection persister using the session.
The collection role is also not stored anywhere in the event. For listeners that performs
audit/security and etc. this information is needed even when the target persistence
collection was not loaded.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira