[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5499) Extend AuditReader interface with findRevisions() method

Erik-Berndt Scheper (JIRA) noreply at atlassian.com
Tue Aug 24 08:59:41 EDT 2010


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


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list