0 votes
in Solved by (400 points)
recategorized by

1 Answer

0 votes
Best answer

Hi,
thanks for contacting us. Please let me know few specifying details: What ORM framework do you use and how do you currently define boolean in your schemas. Then I will be able to show you exactly how to do this in ORM Designer.
Martin

by Skipper developer (74.8k points)
selected by

Hi I use Doctrine2 ORM in a Symfony2 project. If I define a default value for the boolean attribute in ORMD this is not reflected in the exported xml

Unfortunatelly Doctrine2 does not support importing default values and it cannot be implemented using ORM Designer.

To bypass this Doctrine2 feature you need to set the value manually. How to do that is discussed here:
http://stackoverflow.com/questions/3376881/default-value-in-doctrine