Hibernate: rundown on how @GeneratedValue works

前端 未结 2 514
难免孤独
难免孤独 2020-12-03 14:47

I am having troubling finding an accurate explanation of @GeneratedValue and the different strategies regarding on what happens from a database point of view.

Will

2条回答
  •  孤街浪徒
    2020-12-03 15:24

    Please use http://docs.jboss.org/hibernate/annotations/3.5/reference/en/html_single/ link for reference. But if you will tell what specific you are looking for I might be able to help you better. Here is little detail about @GeneratedValue annotation… I love this blog post on same topic http://elegando.jcg3.org/2009/08/hibernate-generatedvalue/. He has done good job explaining.

提交回复
热议问题