[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 11:12:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46281#comment-46281 ]
Andrig T Miller commented on HHH-7238:
--------------------------------------
I'm also getting this on SPECjEnterprise2010:
15:19:10,782 WARN [org.infinispan.notifications.cachelistener.CacheNotifierImpl] (MSC service thread 1-4) ISPN000133: Attempted to register listener of class class org.hibernate.cache.infinispan.entity.EntityRegionImpl, but no valid, public methods annotated with method-level event annotations found! Ignoring listener.
So, there doesn't appear to be any 2LC for the entity I have the @Cache annotation on. After this WARN, I also don't get the messages that show the entity is being cached. The performance is also awful, and it much better if I remove the @Cache annotation from the one entity I'm trying to cache.
This is a blocker for EAP 6, since it blocks our SPECjEnterprise2010 work.
> 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