-->
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: JAVA and Hibernate and Db2
PostPosted: Mon Apr 22, 2013 8:18 am 
Newbie

Joined: Mon Apr 22, 2013 8:07 am
Posts: 3
Hi all,
I connected java application with DB2 Successfully.I am using java with DB2 Database and JPA(Hibernate).In some time i got the following error

1. Caused by: org.hibernate.exception.GenericJDBCException: could not load an entity: [sampleImpl#6855]
2. Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-1585, SQLSTATE=54048, SQLERRMC=null, DRIVER=3.64.82

I am using the following driver and Dialect
Driver:com.ibm.db2.jcc.DB2Driver
Dialect:org.hibernate.dialect.DB2Dialect

In persistence.xml i have a entry for sampleImpl
<class>src.defaultpackage.sampleImpl</class>



Could any one Help me ....


Thanks
Chandarasekaran Myilsamy


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.