Collection has neither generic type or OneToMany.targetEntity() defined
在一对多双向关联关系里,Set如果用泛型,就需要在@OneToMany指明targetEntity多方的实体类,要不就不要用泛型。
转载于:https://blog.51cto.com/4610383/1429437
在一对多双向关联关系里,Set如果用泛型,就需要在@OneToMany指明targetEntity多方的实体类,要不就不要用泛型。
转载于:https://blog.51cto.com/4610383/1429437