Joined: Fri Apr 27, 2007 2:44 am Posts: 2
|
I have implemented interface PreUpdateEventListener and override following:
public boolean onPreUpdate(PreUpdateEvent preupdateevent) {
// TODO Auto-generated method stub
log.debug("Entering method 'onPreUpdate'");
if (preupdateevent.getEntity() instanceof PlantGroup) {
log.debug("handle 'PlantGroup' update");
}
return false;
}
Everything is working after registering event listener with spring.
Question:
How do i modify object properties before performing update?
How do i get old object properties?
Any help would be appreciated.
Thanks,
Anil G
_________________ Thanks,
Anil
|
|