Hibernate使用记录

  • 异常原因记录
threw exception [Request processing failed; 
nested exception is org.hibernate.type.SerializationException:
could not deserialize] with root cause
java.io.StreamCorruptedException: invalid stream header: 43003A00

此异常是因为数据库中的数据类型和Hibernate映射文件中的数据类型不一致导致 无法反序列化。修改映射文件即可解决。