Link Details

Wouldn't it be cool if everybody did it? Login and vote now.
Link 107825 thumbnail
User 224680 avatar

By NBharti78
via java.dzone.com
Published: Aug 27 2008 / 21:46

Using a simple Hibernate Interceptor, updating audit trail fields in a database (such as created_by, created_on, updated_by, and updated_on) can be accomplished with no changes to your application code. In other words, you won't need to and definitely should not be manually setting those audit properties littered around your application code.
  • 17
  • 1
  • 1179
  • 387

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.