[
https://hibernate.onjira.com/browse/BVAL-267?page=com.atlassian.jira.plug...
]
Gunnar Morling commented on BVAL-267:
-------------------------------------
Antonio, maybe you could use {{@AssertTrue}} on a method implementing your complex
constraint like this:
{code}
@AssertTrue(message="A complex business constraint has been violated")
public boolean isValid() {
//complex business constraint logic
}
{code}
Would that help you?
Provide a ConstraintViolationException builder to facilitate consumer
code
--------------------------------------------------------------------------
Key: BVAL-267
URL:
https://hibernate.onjira.com/browse/BVAL-267
Project: Bean Validation
Issue Type: Improvement
Components: spec-general
Reporter: Emmanuel Bernard
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira