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