[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3697) Turn on/turn off versioning in runtime

Adam Warski (JIRA) noreply at atlassian.com
Sun May 31 14:07:13 EDT 2009


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

Adam Warski resolved HHH-3697.
------------------------------

         Assignee: Adam Warski
       Resolution: Won't Fix
    Fix Version/s: 3.5

This can be easily done without any modifications to Envers source, see: http://www.jboss.org/community/wiki/EnversFAQ

> Turn on/turn off versioning in runtime
> --------------------------------------
>
>                 Key: HHH-3697
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3697
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: envers
>            Reporter: Vasily Vasilkov
>            Assignee: Adam Warski
>            Priority: Minor
>             Fix For: 3.5
>
>
> Source - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148079
> From my standpoint, the minimal set of functions are:
> 1) user can retrieve all versioned entities (e.g. entities with @Audited mark)
> 2) user can retrieve list of versioned entities which currently on/off
> 3) user can submit an entity (of array/list of entities to turn on/turn off)
> for example, code can looks like:
> enum EntityState { ON, OFF  }
> List<Class> getAuditedEntities(EnumSet<EntityState> entitiesState)  // retrieve info about all/on/off entities
> void setEntityState(Class entity, EntityState entityState)

-- 
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