title: Assigned Generator Class on Hibernate Annotations
body: <p>Hibernate newbie here.  I am working on a simple Hibernate mapping file.
  When I am using the xml approach, I set the generator class to assigned.
  There are certain logic that must be checked before an employee id is assigned so I cant generate it
  automatically.</p>
  
  <pre><code>&lt;id name="id" type="string" column="emp_id"&gt;
          &lt;generator class="assigned"&gt;
          &lt;/generator&gt;
  &lt;/id&gt;
  </code></pre>
  
  <p>But I am also studying the annotation type and annotation seems to be in thing nowadays as frameworks are moving away from
  configuration files.  But I cant find any generation type to match the assigned value </p>
  
  <pre><code>public class Employee{
   String id; 
   @column(name="emp_id", unique=true)
   public String getID(){
    return id;
   }
  }
  </code></pre>
  
  <p>Does this mean that I dont need to add any sequence generator annotation when it is assigned?  Thanks</p>