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,
|