• 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

Audit Logging

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im using ejb3 for my backend system and am going to develop the audit trail logging system, Which method is more preferable, using entity listener or hibernate interceptor? Create a mirror history entity with additional audit trail fields, or a generic historyentity containing old property value and new property value (in this case, every record will be inside one single table)? I was concerning about the latter, if i were to create every single record inside history table for every single field change, would it slow down the system performance? please advise and suggest any other helpful resources which might be of some help to me. Thanks in advance.
 
reply
    Bookmark Topic Watch Topic
  • New Topic