Why is a sequence named hibernate_sequence being created with JPA using Hibernate with the Oracle 10g dialect?

前端 未结 3 1916
太阳男子
太阳男子 2021-02-15 12:46

All my entities use this type of @Id

@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = \"MYENTITY_SEQ\")
@SequenceGenerator(name =         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-15 13:10

    I suspect it's because i am using Hibernate Envers as i've double checked my entities and all of them have the correct @Id mappings.

提交回复
热议问题