标签:collection has neither generic type or onetomany.targetentity() defined
在一对多双向关联关系里,Set如果用泛型,就需要在@OneToMany指明targetEntity多方的实体类,要不就不要用泛型。
本文出自 “路很长,又很短” 博客,请务必保留此出处http://10000001.blog.51cto.com/4600383/1429437
Collection has neither generic type or OneToMany.targetEntity() defined,布布扣,bubuko.com
Collection has neither generic type or OneToMany.targetEntity() defined
标签:collection has neither generic type or onetomany.targetentity() defined
原文地址:http://10000001.blog.51cto.com/4600383/1429437