-->
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.  [ 2 posts ] 
Author Message
 Post subject: CF 9.0.1 MachII 1.8 ehcache (Terracotta)
PostPosted: Wed Sep 21, 2011 5:49 am 
Newbie

Joined: Wed Sep 21, 2011 5:46 am
Posts: 4
Hello,

I have a problem since i installed Terracotta over Coldfusion 9.0.1.

The error is :
net.sf.ehcache.CacheException: net.sf.ehcache.CacheException:
org.hibernate.ObjectNotFoundException: No row with the given
identifier exists: [comImageCollection#38]

When i attempt to retrieve an object with a lot of link (many-to-one,
one-to-many, many-to-many...), the above exception is thrown...

The object with the identifier 38 doesn't exist in database and the
object i am trying to retrieve has no direct link with
"comImageCollection" hibernate entity.

If you have an idea...

Best Regards

Julien


Top
 Profile  
 
 Post subject: Re: CF 9.0.1 MachII 1.8 ehcache (Terracotta)
PostPosted: Wed Sep 21, 2011 8:58 am 
Newbie

Joined: Wed Sep 21, 2011 5:46 am
Posts: 4
Problem fixed.

The entity were linked to a wrong component whose were present in the
list of entities...

So coldfusion/hibernate doesn't throw exception.

<cfproperty name="parentMenuFolder" fieldtype="many-to-one"
cacheName="globalCache" cacheuse="nonstrict-read-write"
fkcolumn="MNU_MFD_ID" cfc="PrestationMenuFolder" lazy="true"
inverse="true" />

The cfc attribute were "comImageCollection"... and should be
"PrestationMenuFolder".

Have a nice day.


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

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.