Thank you a lot for your fast and correct answer
It works but the unused forced types message still appears. I think that is misleading.
[INFO]
Unused ForcedType :
<name>BOOLEAN</name><includeExpression>.*</includeExpression><includeTypes>(NUMBER|DECIMAL)\(1,\s*0\)</includeTypes><nullability>ALL</nullability><objectType>ALL</objectType>
I was actually creating a starting project with Spring Boot/Liquibase to test a column creation. But I am not familiar at all with H2. Without your answer I would have based my thinking it was a number because in the left panel of the console it appears as a NUMBER(1, 0).
In the same subject, I am also trying to generate sequences with BigInteger types, as they were generated as BigInteger while using an Oracle database as input.
Now are generated as Long. Probably because the maxValue is way less with H2 than Oracle.
So I tried this:
<forcedType>
<userType>java.math.BigInteger</userType>
<expression>.*</expression>
<objectType>SEQUENCE</objectType>
</forcedType>
Seems to works but the generated Sequences class doesn't compile because Internal.createSequence still returns a Sequence<Long>.
public static final Sequence<BigInteger> SEQ_APPEL_TRACE = Internal.createSequence("SEQ_APPEL_TRACE", DefaultSchema.DEFAULT_SCHEMA, org.jooq.impl.SQLDataType.BIGINT, null, null, null, null, false, null);
How can I change the SQLDataType used as third parameters ?
Switching the generation from an Oracle instance to an H2 isn't as easy as I thought it would be