Java and JBoss related stuff
RSS icon Home icon
  • Envers 1.2.1.GA released

    Posted on June 6th, 2009 Adam Warski 6 comments

    Yesterday I uploaded a new release of Envers, 1.2.1.GA. It is mainly a bugfix release, but there is also one new feature. You can now access the current revision entity directly using AuditReader, without the need to use a revisions listener. For details, see the description of the AuditReader.getCurrentRevision() method in the javadocs.

    You can see the list of issues closed in jira.

    The release is available for download here; it’s also in jboss’s maven2 repository.

    Have fun! :)
    Adam

     

    6 responses to “Envers 1.2.1.GA released” RSS icon

    • Hi Adam,

      Let me just say well done on Envers! It certainly makes auditing with Hibernate painless.

      I wanted to know if you have a road plan for the next release? I reported a bug and was just curious for the plan going forward.

      thanks,

      dave

    • Hello,

      probably around september-october, but I don’t know what I’ll manage to fix by then.
      You can always grab the code and try to do a fix yourself, I’ll be happy to help in case of problems.

      Adam

    • I’ll grab the code and have a go. Any pointers besides starting with the stack trace for resolving this one?

      http://opensource.atlassian.com/projects/hibernate/browse/HHH-4072

    • Hmm, not really, probably the table name should be checked if it’s not yet generated or sth.
      I guess debugging will show it quickly ;)

    • Hi Adam,
      I have problem with Envers.
      When i have for example next mapping:

      contact pk is contact_id
      user pk is user_id
      And when i add Audit and try to insert or update user generated sql is next:
      insert
      into
      user_AUD
      (…, contact_id, REV)
      values
      (…, ?, ?)
      user_AUD is copy of user and do not has contact_id ….

    • Hello,
      please write on the forum.
      Adam


    Leave a reply