posted 14 years ago
I am new to Spring Framework.
I tried to configure advice and related classes using DelegatingIntroductionInterceptor but couldn't understand how I will use this feature.
Consider senario.
I have Person Object. My DB layer which is Hibernate method insert( Person person) object at this time which is inserted into person table in DB.
Later on if I want to implement Audit functionality for person table.I created Audit object with lastModifiedDate field. Now I want this Person object to insert lastModifiedDate without changing Person.java. I know we can use DelegatingIntroductionInterceptor but not able to use it. Can someone guide me.