DDC-526: Abstract Type needs method "getEmptyValue" #5035

Closed
doctrinebot opened this Issue Apr 17, 2010 · 7 comments

2 participants

@doctrinebot

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".

@doctrinebot

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.

@doctrinebot

Comment created by romanb:

-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.

@doctrinebot

Comment created by @beberlei:

Yes that works i found out.

@doctrinebot

Comment created by romanb:

Can we close this then?

@doctrinebot

Comment created by @beberlei:

Closed, not needed

@doctrinebot

Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-BETA1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment