[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5499?page=c...
]
Erik-Berndt Scheper commented on HHH-5499:
------------------------------------------
With hindsight, a better approach would be to keep the correlation between the revision
number and the revision-entity.
Therefore the new signature of the method should be:
* <T> Map<Number, T> findRevisions(Class<T> revisionEntityClass,
Set<Number> revisions)
Extend AuditReader interface with findRevisions() method
--------------------------------------------------------
Key: HHH-5499
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5499
Project: Hibernate Core
Issue Type: Sub-task
Components: envers
Reporter: Erik-Berndt Scheper
Attachments: HHH-5499-AuditReader-findRevisions.patch
To improve performance, it would be benificial to extend the Envers AuditReader interface
with the following method, so that a list of revision-entities can be retrieved in one
query:
* {{<T> List<T> findRevisions(Class<T> revisionEntityClass,
Set<Number> revisions)}}
See attached patch, with testcases and updated findRevision() method.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira