[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-6235) Is it so necessary to permit only positive revision numbers?

Gail Badner (JIRA) noreply at atlassian.com
Mon Aug 15 20:58:04 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner reassigned HHH-6235:
--------------------------------

    Assignee: Adam Warski

Adam, please assign as appropriate.
Thanks,
Gail

> Is it so necessary to permit only positive revision numbers?
> ------------------------------------------------------------
>
>                 Key: HHH-6235
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6235
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: envers
>    Affects Versions: 3.6.0
>            Reporter: Oleksandr Alesinskyy
>            Assignee: Adam Warski
>
> Is it so necessary to permit only positive revision numbers?
> Some methods nicely works with revisions having any number (forRevisionsOfEntity) and some (e.g. AuditReader.find) mandate a revision number to be positive). Which value this check brings? If I have to introduce Envers to the existing application I would like to fill in newly created auditing tables with the current state of the "operational" tables and revision number 0 (or even -1) to clearly distinguish it from "normal" revisions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list