segunda-feira, 5 de dezembro de 2011

JBoss Envers and Temporal Databases

It can be used in need of Temporal Databases[1]... It is a great option for historic data!

Envers: Easy Entity Auditing
"The Envers project aims to enable easy auditing/versioning of persistent classes. All that you have to do is annotate your persistent class or some of its properties, that you want to audit, with @Audited. For each audited entity, a table will be created, which will hold the history of changes made to the entity. You can then retrieve and query historical data without much effort." [2]

[1] http://en.wikipedia.org/wiki/Temporal_database
[2] http://www.jboss.org/envers

Nenhum comentário: