使用hibernate @OneToMany 的annotation注解的时候,会出现 Could not determine type情况,这时候需要把set的数据类型类,和当前类实现Serializable接口,同时在set属性上使用@Transient
使用hibernate @OneToMany 的annotation注解的时候,会出现 Could not determine type情况,这时候需要把set的数据类型类,和当前类实现Serializable接口,同时在set属性上使用@Transient