org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.example.model.Position.id@Entitypublic class Person { @GeneratedValue
我正在努力将来自外部系统的多个JPA实体保存为JSON。输入的数据是作者和书籍的列表,它们以一对多的形式链接(一个作者可以有0..n本书)。javax.persistence.EntityNotFoundException: Unable to find com.sandbox.demo.sql.puzzle.Book with id 1 }