[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7238) Remove the need for QueryResultsRegionImpl to have @Listener

Scott Marlow (JIRA) noreply at atlassian.com
Tue Apr 10 11:51:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46223#comment-46223 ] 

Scott Marlow commented on HHH-7238:
-----------------------------------

If removed, AS7 unit test org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase fails with org.infinispan.notifications.IncorrectListenerException:
Cache listener class
org.hibernate.cache.infinispan.query.QueryResultsRegionImpl must be
annotated with org.infinispan.notifications.annotation.Listener

http://pastie.org/3716319

> Remove the need for QueryResultsRegionImpl to have @Listener
> ------------------------------------------------------------
>
>                 Key: HHH-7238
>                 URL: https://hibernate.onjira.com/browse/HHH-7238
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 4.1.2
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>            Priority: Minor
>              Labels: infinispan
>             Fix For: 4.1.x
>
>
> Why does org.hibernate.cache.infinispan.query.QueryResultsRegionImpl need to be annotated with org.infinispan.notifications.annotation.Listener?
> If present, we get:
> {code}WARN  [org.infinispan.notifications.cachelistener.CacheNotifierImpl] (MSC service thread 1-4) ISPN000133: Attempted to register listener of class class org.hibernate.cache.infinispan.query.QueryResultsRegionImpl, but no valid, public methods annotated with method-level event annotations found! Ignoring listener.{code}
> Sort this out.

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