使用hibernate @OneToMany 的annotation注解的时候,会出现 Could not determine type情况,这时候需要把set的数据类型类,和当前类实现Serializable接口,同时在set属性上使用@Transient
Hibernate @OneToMany Could not determine type
最新推荐文章于 2017-12-14 13:35:57 发布
使用hibernate @OneToMany 的annotation注解的时候,会出现 Could not determine type情况,这时候需要把set的数据类型类,和当前类实现Serializable接口,同时在set属性上使用@Transient