I've a form with a text field. This field maps to a not nullable field in my DB (is a legacy DB and I can't change this)
The problem is that Symfony2 always set empty text field to NULL and, this make the insert fails.
Is there a way to tell Symfony2 to not set empty text fields to NULL ?
* @ORM\Column(name="address", type="string", length=255, nullable=true)