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

Vasily Vasilkov (JIRA) noreply at atlassian.com
Thu Jan 8 10:29:38 EST 2009


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
            Priority: Minor


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