• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Solution in DelegatingIntroductionInterceptor Spring Framework

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


 
reply
    Bookmark Topic Watch Topic
  • New Topic