PropertyAccessException « Update « JPA Q&A





1. org.hibernate.PropertyAccessException (cannot update join)    forum.hibernate.org

hello, I have 3 tables in my database: ROLE (ID_ROLE, DESCRIPTION) ROLE_PERSON (ID_ROLE, ID_PERSON) PERSON (ID_PERSON, NAME) and mapped them as a ManyToMany-Relation: Code: @Entity public class Person implements Serializable { private int idPerson; @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name = "ID_PERSON", nullable = false, insertable = true, updatable = true) public int getIdPerson() { return ...