I think,what you are looking for is EmbeddedId,You can do something like below.


First take out these column from your Department class,and create a new class like below.  

    @Embeddable    
    class CenterDeptId{

       @Column(name = "center_code")
       private String cost_Center_Code;

       @Column(name = "dep_code")
       private String dep_Code;

       // getter &amp;&amp; setter 

   }

Use the above class in your Department class

@Entity    
public class Department {

    @EmbeddedId
    private CenterDeptId centerDeptId;
    private String department;
    private String sub_Department;
    private String division;

  //getter &amp;&amp; setter

}



How to Implement composite primary key with Hibernate Annonations
How many creatures should the average, typical draft deck contain?

Obviously this depends on a multitude of factors, including the kinds of creatures in your deck, the kinds of non-creatures you have available, and the overall composition of the block you're drafting. Nonetheless, what's a good baseline for the number of creatures in a draft deck? And how should I decide if I need to run more or fewer creatures than the baseline?
