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

Oleksandr Alesinskyy (JIRA) noreply at atlassian.com
Wed May 18 11:20:25 EDT 2011


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


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.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list