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: Session.load throwing exception
PostPosted: Thu Mar 20, 2008 6:26 am 
Newbie

Joined: Thu Mar 20, 2008 6:10 am
Posts: 1
Hi,

I am facing problem while retreving the record from the database, throwing an JDBC exception

Customer id is a primary key in the database table, we changed the length of this field. After changing the length select is throwing exception . but for the original length it is working fine.


Following is the exception -
net.sf.hibernate.JDBCException: could not load: [com.dalia.bm.dal.bean.db2.Customer#99999711]
com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null


Thanks,


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.