Jira issue originally created by user @beberlei:
IBM DB2 is a very strict system, defining a column with "foo INT NOT NULL" requires you to set a DEFAULT value.
This information is best placed on the Type instances with a method "getEmptyValue".
Comment created by romanb:
Does not sound good to me. It would be better to solve this in the DB2 platform/schemamanager, if possible. Introducing new methods on Type for such db-specific issues is not appealing.
-Or if all other drivers are fine with this as well and its easier to do, we could do that always for all platforms.-
Forget that, I misunderstood the problem a bit.
Nevertheless, if this can be solved on the DB2 platform/schemamanager level it would be better, i.e. internally picking an empty default value depending on the type.
Comment created by @beberlei:
Yes that works i found out.
Can we close this then?
Closed, not needed
Issue was closed with resolution "Invalid"