-->
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: unknown handler key
PostPosted: Mon Nov 20, 2006 2:20 pm 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
Hello,

I am using Hibernate 3.2 with Eclipse 3.2.1 RCP. I try to load a single result from my database, but get the following error:
Code:
2006-11-20 19:01:04,984 [main] DEBUG org.dseas.base.dao.PersistentContext - Transaction started.
2006-11-20 19:01:04,984 [main] DEBUG org.hibernate.SQL - select appuser0_.ID as ID2_, appuser0_.USER_CRE as USER9_2_, appuser0_.USER_UPD as USER8_2_, appuser0_.TIME_CRE as TIME2_2_, appuser0_.TIME_UPD as TIME3_2_, appuser0_.USER_GROUP_ID as USER7_2_, appuser0_.CODE_ID as CODE4_2_, appuser0_.TXT_NAME as TXT5_2_, appuser0_.TXT_EMAIL as TXT6_2_ from DSEAS.APP_USER appuser0_ where appuser0_.CODE_ID=?
2006-11-20 19:01:04,984 [main] DEBUG com.mchange.v2.c3p0.stmt.GooGooStatementCache - com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache ----> CACHE HIT
2006-11-20 19:01:04,984 [main] DEBUG com.mchange.v2.c3p0.stmt.GooGooStatementCache - checkoutStatement: com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 2; checked out: 1; num connections: 2; num keys: 2
2006-11-20 19:01:04,984 [main] DEBUG com.mchange.v2.c3p0.stmt.GooGooStatementCache - checkinStatement(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 2; checked out: 0; num connections: 2; num keys: 2
2006-11-20 19:01:05,000 [main] ERROR org.dseas.base.dao.AppUserDAO - unknown handler key
2006-11-20 19:01:05,000 [main] DEBUG com.mchange.v2.c3p0.stmt.GooGooStatementCache - checkinAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 2; checked out: 0; num connections: 2; num keys: 2
2006-11-20 19:01:05,000 [main] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@18eabf6 [managed: 2, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@d2efa1)
2006-11-20 19:01:05,000 [main] DEBUG org.dseas.base.dao.PersistentContext - Transaction commited.

I don't know what the reason for the error could be. I can make the query but when I call Query.getSingleResult() I get a "unknown handler key" error.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 2:29 pm 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
hmmm.. seems to have something to do with buddy classloading.


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.