Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Envers Auditing

chicha sonu
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Hibernate4 with envers for Audit Logging Purpose
I have table With PRODUCTS(PRODUCT_ID(primaryKey),PRODUCT_CODE,PRODUCE_DESC,PRODUCT_FEE),Hibernate has created an audit table PRODUCTS_AUD.
When ever their is a change in the Product description,hibernate is tracking well and gud about the all the changes in the previous records.

Some records have only Product_desc changed,some records have only product_fees changed for a particular Product_id in PRODUCTS_AUD table .
Is their a best way to find out what all are the changed fields between revisions.
Can some one please suggest the same.
Thanks in Advance
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!