org.hibernate.type.SerializationException:could not deserialize 异常
解决:
1.实体类有没有实现serializable接口
public class Buildinfo implements Serializable {
2.表中字段没有在实体中映射
@ManyToOne
@JoinColumn(name="build_parent_id",referencedColumnName="build_id")
public Buildinfo getBuild_parent() {
return build_parent;
}
from:http://blog.csdn.net/zh592677127/article/details/7815649