[hibernate-dev] [BVAL-RI] Regarding BVAL-90
Alaa Mohsen
alaa.mohsen at egyptdc.com
Mon Feb 2 07:01:23 EST 2009
OK
On Mon, Feb 2, 2009 at 1:31 PM, Emmanuel Bernard <emmanuel at hibernate.org>wrote:
> Actually I am sure now, you have to store the list in a Map at the
> ValidatorFactory level because the list of validators can be overridden in
> XML.
>
>
> On Feb 2, 2009, at 12:28, Emmanuel Bernard wrote:
>
> I don't see the need for reflection. Just add them to the map, period.
>>
>> You might want to store the map in the ValidatorFactory instead of a
>> static, not sure.
>>
>> On Feb 2, 2009, at 12:22, Alaa Mohsen wrote:
>>
>> Hello All,
>>> What's the status of BVAL-90 (Stop using a properties file for
>>> built-in constraints and move to a list in Java)? I'm thinking of
>>> implementing it using a static map that's get filled on class loading. I
>>> wanted to have a clean implementation using reflection, but can't find a
>>> clean solution to get the classes within a package. I'm also thinking of
>>> using an enum instead of a map. What do you think?
>>>
>>> Regards,
>>> Alaa Nassef
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20090202/5280bae1/attachment.html
More information about the hibernate-dev
mailing list