Expert |
|
Joined: Fri Oct 28, 2005 5:38 pm Posts: 390 Location: Cedarburg, WI
|
Hibernate version: 1.0.2
If dynamic-update is used (i.e. set to true), then it's not possible to set a mapped property like LastUpdatedDate to the current date in IInterceptor.OnFlushDirty(), because the previous and current states contain only the changed properties. This could be solved if property mappings in the hbm files supported the dynamic-insert and dynamic-update attributes. These would override the value defined at the class level.
|
|