testOptionalAttributeOverride |
public void testOptionalAttributeOverride()(Code) |
| Tests that the optional attribute on a basic field can be overrided by
an xml descriptor.
XmlOverrideEntity.name is annotated with optional=false
XmlOverrideEntity.description is annotated with optional=true.
The optional attributes are reversed in orm.xml.
|