Java and JBoss related stuff
RSS icon Home icon
  • Introducing Envers: Easy Entity Versioning

    Posted on April 10th, 2008 Adam Warski 2 comments

    Hello,

    Envers is a project which enables you to version your entities, simply by annotating them with @Versioned! It is still very young, and far from a mature project, but some basic functionalities already work.

    The project’s web page can be found here: www.jboss.org/envers. There you can download a preview version, a short console demo as well as find a “quick start” guide.

    I’d really like to know your opinion on this project, if you find it useful, what features would you expect and so on. So please comment! :)

    Adam

     

    2 responses to “Introducing Envers: Easy Entity Versioning” RSS icon

    • This is a *great* idea.

      There are various ways to do historical data, and I have used the one with a separate table as envers do too. But you can also choose to store historical data in the same table, using validFrom and validTo timestamp columns, to mark entries as historical. I am sure, there are other ways. Is there anything in the plans or thoughts, to support alternative ways, to store the historical data?

    • Now that you mention it, sure. I didn’t plan it before, but, as I wrote - I’d like to know what would be useful to possible users, like you. Storing all data in one table seems a really good idea :). Thanks!


    Leave a reply