JPA problem: org.hibernate.MappingException: Repeated column in mapping for entity
posted 5 years ago
I'm pretty new to JPA, so it may sound like a stupid question... I'm getting the following error in console:
In my database I have the following, wich I use to generate the entities using Eclipse's JPA Tools:
The JPA tools generates me the following entities:
if I do put the attributes insertable=false, updatable=false, it stops complaining, but I don't like not knowing what its complaining about
Could anyone help me understand whats going on here?
sorry if it sounds stupid but I'm new to JPA and am trying to learn and understand a little more