异常:
Collection has neither generic type or OneToMany.targetEntity()
请 检查多方的引用 这个属性是否使用了泛型,如:Set<OrderItem>.
如 果未使用泛型,请在OneToMany注释中使用targetEntity指定元素的类型
hibernate注解demo
猜你喜欢
转载自k0441258778983.iteye.com/blog/1068376
今日推荐
周排行