title: native generator class in hibernate
body: <p>I have this part of hibernate mapping xml file, and I was looking for a good example for what does native mean.</p>
  
  <pre><code>&lt;hibernate-mapping&gt;
   &lt;class name="com.hib.Task" table="tasks"&gt;
    &lt;id name="id" type="int" column="id" &gt;
     &lt;generator class="native"/&gt;
    &lt;/id&gt;
  </code></pre>
  
  <p>I know it's something related to unique identifier property, but I would really like to have an example.</p>
  
  <p>Sorry for the newbie question, I'm new to hibernate and programming in general :)
  Thank you!</p>