title: How to generate a hibernate ID with auto generate with a starting value
body: <p>Hi I have written code like this</p>
  
  <blockquote>
  <pre><code>@Id
  @Column(nullable=false)
  @GeneratedValue(strategy=GenerationType.AUTO)
  public int getUserID() {
      return UserID; 
  }
  </code></pre>
  </blockquote>
  
  <p>But I manually setting it from DAO like "e.setUserID(01);" to insert.Otherwise row not inserting Is there any process to get value to id and retrieve what value generated automatically. Im thinking i will get some help</p>