liquibase-hibernate icon indicating copy to clipboard operation
liquibase-hibernate copied to clipboard

align postgresql native id generation with hibernate (sequence)

Open zyro23 opened this issue 8 years ago • 0 comments

using an id generation "native" with postgresql, hibernate defaults to using one hibernate_sequence.

liquibase-hibernate uses autoincrement in a hardcoded way: https://github.com/liquibase/liquibase-hibernate/blob/master/src/main/java/liquibase/ext/hibernate/snapshot/ColumnSnapshotGenerator.java#L162

why is that behavior needed? or could the defaults be aligned?

┆Issue is synchronized with this Jira Bug by Unito

zyro23 avatar Dec 04 '16 18:12 zyro23