• Post Reply Bookmark Topic Watch Topic
  • New Topic

Repeated mapping in column for entity ...  RSS feed

Paco Exposito
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two tables

which its corresponding POJO.

How can I map these relationships? I've tried:

but I receive the error:

Repeated column in mapping for entity: User column: USERID (should be mapped with insert="false" update="false")

And I want to update and insert new Customers adding boss and advisor info. Then I can't add the insert and update equals to false.

Thanks in advance.

Best regards,

[ Edited to use code tags - Paul Sturrock ]
[ July 21, 2008: Message edited by: Paul Sturrock ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!