w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Hibernate: check which entity's fields are modified

If what you want is to be able to check which fields have been modified, it may be worth taking a look at Hibernate Envers, which works as an auditing tool that creates a separate table containing the changes that were made to your business logic table.

http://www.jboss.org/envers

I started using it for some internal auditing and it's really simple and works like a charm.

Here's a quick tutorial:

https://thenewcircle.com/s/post/115/easy_auditing_versioning_for_your_hibernate_entities_with_envers





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.