Jira issue originally created by user jjulien:
When a MySQL schema contains a line like this:
failedattempts int(11) NOT NULL DEFAULT '0',
If a new entity is created and the failedattempts variable is never set, Doctrine attempts to insert the value NULL which throws an SQL error. If a value is undefined for a new object, shouldn't it just be excluded from the insert fields?