I connected the java with DB2 Successfully.I am using java with DB2 Database and JPA(Hibernate).
I got the following Errors,When i reterive the data from database via application.
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
In persistence.xml i have a entry for sampleImpl
I Searched in google for SQLCODE=-1585 and SQLSTATE=54048,The Error code says like "A system temporary table space with sufficient page size does not exist." but we have enough space .Then wat is the issue?