[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-4749) Don't block calls to getListeners on SessionImplementor when using thread scoped sessions

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Jan 4 06:51:29 EST 2010


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

Sanne Grinovero updated HHH-4749:
---------------------------------

    Description: 
Search needs to call getListeners as soon as Search.getFullTextSession is used, when a transaction is not yet started.

org.hibernate.context.ThreadLocalSessionContext is stopping this call as, when using a thread scoped Session, only a selected number of methods is allowed when no transaction is active.
the "getListeners" method should be added to this whitelist of enabled methods.

  was:
Search needs to call getListeners as soon as Search.getFullTextSession is used, when a transaction is not yet started.

org.hibernate.context.ThreadLocalSessionContext is stopping this call as, when using a thread scoped Session, only a selected number of methods is allowed.
the "getListeners" method should be added to this whitelist of enabled methods.


> Don't block calls to getListeners on SessionImplementor when using thread scoped sessions
> -----------------------------------------------------------------------------------------
>
>                 Key: HHH-4749
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4749
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>             Fix For: 3.3.x, 3.5
>
>
> Search needs to call getListeners as soon as Search.getFullTextSession is used, when a transaction is not yet started.
> org.hibernate.context.ThreadLocalSessionContext is stopping this call as, when using a thread scoped Session, only a selected number of methods is allowed when no transaction is active.
> the "getListeners" method should be added to this whitelist of enabled methods.

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