[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3355) If Interceptor changing values in onSave then collections aren't wrapped
Eamonn Webster (JIRA)
noreply at atlassian.com
Tue Jun 24 10:32:20 EDT 2008
If Interceptor changing values in onSave then collections aren't wrapped
------------------------------------------------------------------------
Key: HHH-3355
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3355
Project: Hibernate3
Issue Type: Patch
Components: core
Affects Versions: 3.2.6
Environment: 3.2.6.ga, java 6, spring framework, windows, oracle 10g
Reporter: Eamonn Webster
Attachments: patch.txt
If you have a Interceptor that changes values in onSave and returns true. Then in AbstractSaveEventListener.performSaveOrReplicate visitCollectionsBeforeSave will not be callled, because substitute is already true. Hence collections in the entity won't be wrapped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list