d_user表中id做了序列,可是在User.hbm.xml中配置<id name="id" type="integer">
     <column name="id" not-null="true"/>
         <generator class="sequence">
            <param name="sequence">user_seq</param>
         </generator>
</id>是启动服务器的时候出错了:could not instantiate id generator [entity-name=entity.User]我试着generator class="native"结果报500错误了:HTTP Status 500 - could not insert: [entity.User]; 
nested exception is org.hibernate.exception.SQLGrammarException: could not insert: [entity.User]