• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Repeated mapping in column for entity ...

 
Paco Exposito
Greenhorn
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,
Paco

[ Edited to use code tags - Paul Sturrock ]
[ July 21, 2008: Message edited by: Paul Sturrock ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic