Hibernate:Exception in thread "main" org.hibernate.AnnotationException: List/array has to be annotated with an @OrderColumn (or @IndexColumn): com.mao.PersonArray.school
解决方案:
在你的持久化类中添加:@OrderColumn注解重新运行
Hibernate:Exception in thread "main" org.hibernate.AnnotationException: List/array has to be annotated with an @OrderColumn (or @IndexColumn): com.mao.PersonArray.school
解决方案:
在你的持久化类中添加:@OrderColumn注解重新运行