title: org.hibernate.HibernateException: The database returned no natively generated identity value
body: <p>I'm getting this exception from Hibernate</p>
  
  <blockquote>
    <p>building session factory<br>
    13:32:09,937  INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured<br>
    Exception in thread "main" org.hibernate.HibernateException: The database returned no natively generated identity value</p>
  </blockquote>
  
  <p>What does this mean and how can I solve it? Thanks!</p>