-->
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: Migration hibernate 2 -->> 3 : help me please
PostPosted: Thu Nov 24, 2005 1:37 pm 
Newbie

Joined: Tue Sep 13, 2005 9:09 am
Posts: 17
Hello,
I'm trying to migrate an application (is OK under hibernate 2) from hibernate 2 to hibernate 3 : i have this error. I read some where that i have to use cglib 2.1.3 but i have the same error.


Hibernate version:
hibernate 3.0.5 / hibernate 3.1.rc3 (same problème)


Full stack trace of any exception that occurs:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [fr.notation.bean.notation.EntrEntreprise#784635591]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:65)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at fr.notation.bean.notation.EntrEntreprise$$EnhancerByCGLIB$$291d112.getCcatju(<generated>)
at fr.notation.service.ServiceNotationCpan.traiterAnoCP(ServiceNotationCpan.java:357)
at fr.notation.service.ServiceNotationCpan.TraiterContrepartiesANoter(ServiceNotationCpan.java:550)
at fr.notation.BatchNotation.execute(BatchNotation.java:44)
at fr.notation.BatchNotation.main(BatchNotation.java:71)


Name and version of the database you are using:
DB2 V7


Debug level Hibernate log excerpt:

24/11/2005 18:13:10 DEBUG : Creating new CacheManager with default config
24/11/2005 18:13:10 DEBUG : Configuring ehcache from classpath.
24/11/2005 18:13:10 DEBUG : Configuring ehcache from ehcache.xml found in the classpath: file:/E:/devel/workspace/gdc-notation-hib333/bin/ehcache.xml
24/11/2005 18:13:10 DEBUG : Disk Store Path: C:\DOCUME~1\M80190\LOCALS~1\Temp\
24/11/2005 18:13:10 DEBUG : org.hibernate.cache.UpdateTimestampsCache Cache: Using SpoolingLinkedHashMap implementation
24/11/2005 18:13:10 DEBUG : initialized MemoryStore for org.hibernate.cache.UpdateTimestampsCache
24/11/2005 18:13:10 DEBUG : Initialised cache: org.hibernate.cache.UpdateTimestampsCache
24/11/2005 18:13:10 DEBUG : org.hibernate.cache.StandardQueryCache Cache: Using SpoolingLinkedHashMap implementation
24/11/2005 18:13:10 DEBUG : initialized MemoryStore for org.hibernate.cache.StandardQueryCache
24/11/2005 18:13:10 DEBUG : Initialised cache: org.hibernate.cache.StandardQueryCache
24/11/2005 18:13:10 INFO : Initialisation des services terminée
24/11/2005 18:13:11 DEBUG : org.hibernate.cache.UpdateTimestampsCache: Is element with key DBM03.CPAN_CP_A_NOTER expired?: false


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.