3 Replies Latest reply on May 25, 2006 2:04 PM by starksm64

    Serialization Problem.  Unable to load to deserialize result

    ofgonzalezr

      Hi,
      I´m trying to extract an object Collection stored in a database Oracle from an EntityBean CMP. The field in the database is Long Row type. When the EJB try to preform this operation, the next error happens:

      java.sql.SQLException: Unable to load to deserialize result: java.io.InvalidClassException: co.edu.uniandes.cronos.vos.tasklog.TasklogVO; local class incompatible: stream classdesc serialVersionUID = -106573141962671489, local class serialVersionUID = -3945467065227243787
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:291)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.access$500(JDBCUtil.java:53)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$5.readResult(JDBCUtil.java:555)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$AbstractResultSetReader.get(JDBCUtil.java:400)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:424)

      The objects are stored frecuently in the database with diferent class version, but I need to extract them anyway.

      It's urgent requirement, any one can help me out.

      Thanks,
      OG