[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1639) Add Events to Query methods

Dominic Bruegger (JIRA) noreply at atlassian.com
Tue Aug 2 09:45:07 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43159#comment-43159 ] 

Dominic Bruegger commented on HHH-1639:
---------------------------------------

Are there any plans to implement this feature? We implemented a custom versioning system which is based on database views. Before each query we need to insert the desired snapshot date into a context table. A pre-query event would be the best place to do this.

> Add Events to Query methods
> ---------------------------
>
>                 Key: HHH-1639
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1639
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.1.3
>            Reporter: jose
>            Priority: Minor
>   Original Estimate: 16h
>  Remaining Estimate: 16h
>
> Current event methods capturing some persistence actions (on session actions) but not capturing persistence-searchs actions (on Query object)
>  
> I would like adds event architecture to Query, adding listeners to iterate, list, scroll,... methods to allows customizable "pre" and "post" actions over list searchs

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list