Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: many-to-many --how to add a constrain?

 
Adrian Burlington
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm trying to have a unique-constrain on a many-to-many relationship.


in the table: KFP_RELATIONSHIP I don't wish to have a duplication of KFP_ID and CUSTOMER_ID.
Can anyone point how to fix it?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic