Hi, I posted this question on Stackoverflow, but this is probably the right place for this question.
During hibernate migration from 4 to 5.6.15.Final I encounter a problem.
I get this error when I run the app:
Schema-validation: wrong column type encountered in column [sequence_next_hi_value] in table [hibernate_sequences]; found [integer (Types#INTEGER)], but expecting [numeric(18,0) (Types#BIGINT)]
It is not problem change data type of field
I am worry about change data type because all my table identifiers are integers.
Is it safe change it and not worry about generating id that doesn’t fit to integer?
I use hibernate-validator 6.2.5.Final and here some configuration of hibernate:
<prop key="hibernate.dialect">org.hibernate.dialect.FirebirdDialect</prop> <prop key="hibernate.hbm2ddl.auto">validate</prop> <prop key="hibernate.id.new_generator_mappings">false</prop>