title: JPA/Hibernate - Create a table with foreign key only
body: <p>How can create an entity table using Hibernate that will foreign keys in it a primary key. Consider it to a joining table (with few other attributes) between two tables having many to many relationship between them.</p>
  
  <p>Any sample code?</p>