views:

31

answers:

2

I am getting the following error

org.springframework.orm.hibernate3.HibernateSystemException: could not deserialize; nested exception is org.hibernate.type.SerializationException: could not deserialize

All my classes implements serializable. Acutally I am fetching one list from DB and using it's value to fetch another result.

A: 

Serialization is not only implementing Serializable. There are many other things you have to be aware of. Without a stack trace or some code, we really can't find out what's going wrong. Here are some pointers:

Also, as always:

Read Effective Java by Joshua Bloch, it contains a whole chapter on Serialization.

seanizer