[hibernate-issues] [Hibernate-JIRA] Assigned: (HV-207) No way to add custom error from collection validator to item
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Sun Aug 16 07:38:15 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik reassigned HV-207:
------------------------------------
Assignee: Hardy Ferentschik
> No way to add custom error from collection validator to item
> ------------------------------------------------------------
>
> Key: HV-207
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-207
> Project: Hibernate Validator
> Issue Type: Bug
> Components: engine
> Affects Versions: 4.0.0.Beta2
> Reporter: Alexey Romanchuk
> Assignee: Hardy Ferentschik
>
> Assume we have object, that contains collection of items. This collection itself contains some business restriction like every item should have unique name. I create validator for this collection and want to add custom ConstrainViolation on each collection element that causes this violation. Now by API I can only use inIterable only for subnodes.
> The solution is to allow inIterable for ErrorBuilder
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list