Hibernate not respecting MySQL auto_increment primary key field

前端 未结 5 2049
攒了一身酷
攒了一身酷 2020-12-15 18:56

I am trying to learn how Hibernate works, and I am running into an almost unacceptable learning curve. I can\'t see how to get Hibernate to respect the auto_increment policy

5条回答
  •  既然无缘
    2020-12-15 19:15

    You might wish to have a look at: http://hibernatepojoge.sourceforge.net/

    It claims to create a fully working application (spring, hibernate, junit tests, etc) just by pointing it to a DB.

提交回复
热议问题