Adam Warski

16 Jul 2008

Envers 1.0.0.GA released!

envers
java
hibernate

Today the first general availability version of Envers has been released (downloads, release notes).

This is a stable version containig all the features found in the preview and beta versions. It doesn’t contain any major new additions, only some minor bug fixes and the possibility to generate revisions on collections change.

What does it mean? Imagine you have a Person and Address entities in a bidirectional many-to-one relation (each person has exactly one address and many people can live at the same address). Now you change an address of a person – hence, the content of the collection of persons for the new and old addresses change. In the preview and beta versions of Envers, no revision will be generated for the Addresses (only for Person), as data in the database tables is not modified (but data in the java beans is modified). Now, however, a revision will be created for all three entities.

You can switch to the old behaviour by setting the org.jboss.envers.revisionOnCollectionChange configuration option to false (see more on configuration).

There is also now a separate build for Hibernate 3.3.0.CR1.

If you’re an Ohloh user and like Envers, you can click on the “I use this” link on the project profile page.

Thanks to talios, aamonten, genman, liuxiaodu, andrewwheeler and other forum users for very valuable feedback, ideas, testing and bug reports.

Hope you enjoy this release,
Adam

comments powered by Disqus

Any questions?

Can’t find the answer you’re looking for?