title: Hibernate composite key with an auto increment field
body: <p>Here one table having one ID that i want auto increment and two more columns that in composite fashion.</p>
  
  <pre><code>ID    ST_NAME    EDU_ID
   1       A         E1
   2       As        E1
   3       Af        E1
   4       B         E2
   5       Ba        E2  
  </code></pre>
  
  <p>ID will be unique all the table
  ST_NAME and EDU_ID Will be composite type
  how can i build the table using hibernate</p>