The 'manual' checks where added, so that we don't even need to bug the JPA layer; however we can look into your suggestion.
BTW. not sure how exactly I can fill the response entity with a Map of ConstraintViolation property paths (bean root class) and messages.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Tolis Emmanouilidis the Bean Validation checks are already in place:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/model/AndroidVariant.java#L40-L42
The 'manual' checks where added, so that we don't even need to bug the JPA layer; however we can look into your suggestion.
BTW. not sure how exactly I can fill the response entity with a Map of ConstraintViolation property paths (bean root class) and messages.