-->
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: net.sf.hibernate.exception.GenericJDBCException: could not
PostPosted: Wed May 07, 2008 12:37 pm 
Newbie

Joined: Wed May 07, 2008 12:13 pm
Posts: 8
Hello good folks!!!

This's my first post, so here I go!


I'm getting the below exception when I try to load an db row by Lazy Loading, the strange thing is that: the row exist in the db, the connection is open and others querys works fine.

Any clue?? May be an Issue with Lazy Loading??

I'm using an old Hibernate version: Hibernate-Version: 2.1.7



Thanks in advance!!!!



[07/05/08 08:02:12:153 CST] 5c81ff4f LazyInitializ E net.sf.hibernate.proxy.LazyInitializer TRAS0014I: Se ha anotado cronológicamente la excepción siguie

nte net.sf.hibernate.exception.GenericJDBCException: could not load by id: [sample.hello.Company#71516]
at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java(Inlined Compiled Code))
at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java(Compiled Code))
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java(Inlined Compiled Code))
at net.sf.hibernate.persister.AbstractEntityPersister.convert(AbstractEntityPersister.java(Inlined Compiled Code))
at net.sf.hibernate.persister.NormalizedEntityPersister.load(NormalizedEntityPersister.java(Compiled Code))
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java(Compiled Code))
at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java(Inlined Compiled Code))
at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java(Compiled Code))
at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java(Inlined Compiled Code))
at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java(Inlined Compiled Code))
at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java(Compiled Code))
at sample.hello.Company$$EnhancerByCGLIB$$371410b5.getId(<generated>(Compiled Code))


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.