• Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA problem: org.hibernate.MappingException: Repeated column in mapping for entity  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
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

Thanks in advance!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!