ValidationDef classes are not used if ValidatorMode is set to UseAttribute

6 views
Skip to first unread message

acl123

unread,
Nov 7, 2011, 9:25:12 PM11/7/11
to uNhAddIns
I am trying to work around the this bug:
http://stackoverflow.com/questions/8032843/nhibernate-validator-throws-system-notsupportedexception-after-upgrading-to-3-1

I am not using XML configuration files, so from my understanding I
think it is safe for me to use ValidatorMode.UserAttribute, which
solves the above problem. However, if I configure NHibernate Validator
using ValidatorMode.UseAttribute rather than
OverrideAttributeWithExternal, the ValidationDef classes that I have
configured using the FluentConfiguration do not get used.
Reply all
Reply to author
Forward
0 new messages