Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Hibernate 4.1.4: Envers Tests Run & Pass on Multiple DBs

DZone's Guide to

Hibernate 4.1.4: Envers Tests Run & Pass on Multiple DBs

· Java Zone
Free Resource

Are you joining the containers revolution? Start leveraging container management using Platform9's ultimate guide to Kubernetes deployment.

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 from Steve Ebersole, Envers tests are now part of the matrix testsuite. Thanks guys! :)

That means the tests now run regularly (and importantly, as of now pass) on MySQL, PostgreSQL, Oracle, MS SQL, DB2, Sybase (and the usual H2) databases. The testsuite contains dozens of mapping scenarios, each trying to write some data in a couple of transactions and then checking that the history is properly written, using both the default and validity audit strategy.

Envers is bundled with JBoss AS 7, as well is part of the Hibernate distribution. For more information see the documentation.

Moving towards a private or Hybrid cloud infrastructure model? Get started with our OpenStack Deployment Models guide to learn the proper deployment model for your organization.

Topics:

Published at DZone with permission of Adam Warski, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}