[hibernate-issues] [Hibernate-JIRA] Commented: (HV-506) Message interpolation should check whether an interpolated annotation paramter is an array
Kevin Pollet (JIRA)
noreply at atlassian.com
Thu Oct 13 17:17:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44047#comment-44047 ]
Kevin Pollet commented on HV-506:
---------------------------------
If the parameter is an array we can use {{Arrays#toString()}}. Calling this method will output something like {{[a, b, c]}}.
> Message interpolation should check whether an interpolated annotation paramter is an array
> ------------------------------------------------------------------------------------------
>
> Key: HV-506
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-506
> Project: Hibernate Validator
> Issue Type: Bug
> Components: engine
> Affects Versions: 4.2.0.Final
> Reporter: Hardy Ferentschik
> Fix For: 4.3.0.next
>
>
> If the parameter is for example a string array we just call _toString()_ on the array. See also - https://forum.hibernate.org/viewtopic.php?f=9&t=1011860
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list