From: Erh-Wen,Kuo (JIRA) <nh...@gm...> - 2010-11-01 23:02:44
|
OnPreUpdate event listener doesn't work properly on parent class ---------------------------------------------------------------- Key: NH-2406 URL: http://216.121.112.228/browse/NH-2406 Project: NHibernate Issue Type: Bug Components: Core Affects Versions: 3.0.0.Beta2 Reporter: Erh-Wen,Kuo Priority: Minor Parent Class (Properties: Title, CreatedBy, CreatedOn, LastModifiedBy, LastModifiedOn) + Child Class (inherit Parent Class) (Property: Description) When an update action only affects "Child Class" for example "Description", even "LastModifiedBy" and "LastModifiedOn" is changed via OnPreUpdateEvent listener, NHibernate will only issue sql to update "Child Class - Description" property. The "LastModifiedBy" and "LastModifiedOn" property in "Parent" class would not be updated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |