-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 4.2.1.Final depending Infinispan-Core 5.2.0.Beta3?
PostPosted: Thu May 16, 2013 4:17 pm 
Newbie

Joined: Thu May 16, 2013 2:49 pm
Posts: 1
I was wondering if anyone could tell me if there was a specific reason that Infinispan-Core 5.2.0.Beta3 was included with the latest versions of hibernate and not the latest version Infinispan-Core 5.2.6.Final? I'm curious because I'm trying to setup a distributed cache using Infinispan and I wanted to update my jar to use Infinispan-Core 5.2.6.Final to make sure I have any known security issues/bugs taken care of. The only problem is when I upgrade to the latest jar I start getting a hibernate handleEntityNotFound error when trying to login into the second App Server. The weird part is that the first App Server seems to work fine, it's just the second App Server that's having problems. If I push the jar version back to Infinispan-Core 5.3.0.Beta3 everything seems to be working fine on both of the App Servers.

Here are some of my specs as well as the exception I'm seeing when I upgrade the Infinispan-Core jar:

Specs:
Hibernate 4.2.1 (Core, Infinispan, Validator), JBoss AS 7.1, and Infinispan-Core 5.2

Part of the Exception when using Infinispand-Core 5.2.6.Final:
Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.example.HibernateEntity#4028a0b93eae5537013eae565c660005]
at org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(SessionFactoryImpl.java:244) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:212) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:150) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1092) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1019) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:648) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:266) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:161) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2449) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2357) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.loader.Loader.list(Loader.java:2330) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:124) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1662) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]
at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374) [hibernate-core-4.2.1.Final.jar:4.2.1.Final]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.