[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5372) Improve envers query performance by using new REVEND column

Adam Warski (JIRA) noreply at atlassian.com
Tue Sep 7 09:55:18 EDT 2010


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

Adam Warski resolved HHH-5372.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.0.CR1

Great patch - thanks a lot! :)
The only thing I changed is not to pass the AuditConfiguration object but the individual components, as it was passed not fully initialized, which could have caused weird issues in the future.

This can probably be solved *much* nicer by using some component/DI system but that's something for the future.

> Improve envers query performance by using new REVEND column
> -----------------------------------------------------------
>
>                 Key: HHH-5372
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5372
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: envers
>    Affects Versions: 3.6.0.Beta1
>            Reporter: Matthew B. Jones
>            Assignee: Adam Warski
>             Fix For: 3.6.0.CR1
>
>         Attachments: HHH-5372-revend_queries-revised-20100907-v2.patch, HHH-5372-revend_queries-revised-20100907.patch, revend_queries.txt
>
>
> When the ValidTimeAuditStrategy is enabled: <property name="org.hibernate.envers.audit_strategy">org.hibernate.envers.strategy.ValidTimeAuditStrategy</property>, it would be desirable to have the Envers API leverage the useful REVEND columns to avoid slow subselects.

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