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