| <?xml version="1.0" encoding="UTF-8"?> |
| <constraint-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd" |
| xmlns="http://jboss.org/xml/ns/javax/validation/mapping"> |
| <default-package>org.eclipse.persistence.testing.models.jpa.beanvalidation</default-package> |
| <bean class="DynamicEmployee" ignore-annotations="true"> |
| <getter name="name" ignore-annotations="true"> |
| <constraint annotation="javax.validation.constraints.NotNull" /> |
| </getter> |
| <getter name="surname" ignore-annotations="true"> |
| <constraint annotation="javax.validation.constraints.NotNull" /> |
| </getter> |
| </bean> |
| </constraint-mappings> |