Konrad recently shared on our company’s technical room an interesting article on how caching is done is a big polish social network, nk.pl. One of the central concepts in the algorithm is generational caching (see here or here). The basic idea is that for cache keys you use some entity-specific…
Category: Envers
Hibernate 4.1.4: Envers tests run&pass on multiple DBs
Envers is an entity auditing framework, making it possible to store and query for historical data. The Hibernate 4.1.4 release may seem to be a minor one, but it’s pretty important for Envers. Thanks to a huge amount of work mainly by Łukasz Antoniak and Strong Liu, with substantial help…
Envers bundled with JBoss AS 7.0.2!
Using Envers is now even easier! Since version 7.0.2, Envers comes bundled with JBoss Application Server. To showcase how easy the integration is, I created a small JSF/CDI application, which uses Envers and can be deployed straight to AS7. To build the application I decided to try out JBoss Forge,…
How to handle inheritance and @Audited?
Some Envers uses had problems because of the limited flexibility in specifying which fields from superclasses (especially those annotated with @MappedSuperclass) should be audited or not. We improved a bit in the latest release, by being able to explicitly enumerate the superclasses to audit. But still this is not fully…
Using Envers with AS7
Recently I tried deploying a web application which uses Envers into AS7, but unfortunately I encountered some problems (see the forum discussion). Luckily thanks to the helpful JBoss guys I’ve got it working now. Moreover, thanks to the work done by Strong Liu, you should see full Envers integration (included…
Envers: track entity types changed in revisions
Łukasz Antoniak, who is a regular contributor to Envers (thanks!), recently finished working on HHH-5580, a feature which enables you to quickly retrieve the entity types that have been modified in a revision, by optionally storing them in a dedicated table. Łukasz wrote an excellent tutorial on the subject, so…
Envers & TorqueBox on RivieraJUG – May 6th
This Friday (6th of May) I will have the pleasure to present two talks: one on Envers and one on Torquebox, thanks to an invitation from the RivieraJUG. Envers is a data auditing/versioning module of Hibernate; with a single @Audited annotation all changes to the selected entity will be written…
Envers and Hibernate 4.0.0.Alpha2 – automatic listener registration
Development of Hibernate4 is well under way, with the Alpha2 version released recently. It contains one major improvement which is quite significant for Envers, namely Integrators (see HHH-5562 & HHH-6081). Using this mechanism it will no longer be necessary to add the 6 event listeners to your Hibernate configuration –…
New Envers contributor
I’d like to welcome Erik-Berndt Scheper as our new Envers contributor. His first commit was yesterday (rev 20717 and 20718), resolving the HHH-5560 issue. Erik was submitting for some time very good patches (with docs&tests), most recently for finishing the validity audit strategy support. He is also an active forums…
Envers at JBoss One Day Talk 2010
I will be presenting Envers (data auditing in Hibernate) at JBoss One Day Talk 2010 in Munich, on the 1st of October. There’s still time to register, and if you already did, don’t miss the Envers talk :) See you there! Adam