[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7238) Remove the need for QueryResultsRegionImpl to have @Listener
Andrig T Miller (JIRA)
noreply at atlassian.com
Fri Apr 13 12:30:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46291#comment-46291 ]
Andrig T Miller commented on HHH-7238:
--------------------------------------
Scott. I know don't get the warning when using 4.1.2.Final. I just rebuilt everything and the warning has disappeared. I am also now getting this:
10:35:50,015 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-30) JBAS010281: Started specj.ear/specj.jar#Order.org.spec.jent.ejb.orders.entity.Item cache from hibernate container
Which is what I was expecting to see, since that is the entity I'm trying to cache. I will be running a test to make sure everything is working fine, but I have no reason to believe it will not work at this point.
> 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.3
>
>
> 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