Closed felinira closed 3 years ago
Resolved by adding H2PostgreSQL95Dialect
dialect which uses SequenceInformationExtractorH2DatabaseImpl
to retrieve information about the sequences. Will be released with the next version
Thank you!
Available in version 0.10.0
Thank you for this tool. This is the exact compromise between magic and complexity I was looking for.
I am using org.hibernate.dialect.PostgreSQL9Dialect and when run this script with action UPDATE it will always generate sequences for id columns:
create sequence public.userID_seq start 1 increment 1;
It does this even when the sequences were already generated in a previous file. This causes errors because the sequences already exist. The setting "skipSequences" does not have an effect.
My sequences are annotated like this: