File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Adrian Burlington
Ranch Hand
Posts: 75
  • 0
  • 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