auto creation of sequence using hibernate tool

后端 未结 2 1776
[愿得一人]
[愿得一人] 2021-02-14 10:58

I wanted to to generate sequence using hibernate tool ( pojo to sql). And definitely it works fine.

@GeneratedValue(strategy = GenerationType.SEQUENCE, generato         


        
2条回答
  •  情话喂你
    2021-02-14 11:28

    I think you are looking for something like this

        
            
                sequence_name
                START WITH 5 INCREMENT BY 10
            
        
    

提交回复
热议问题