I using fluent nhibernate 1.2, NHibernate 3.1 and Nhibernate Validator
1.3

In my session factory, I am making a call to configure the nhibernate
validator as prescribed by the community.

When I make a call to ValidatorInitializer.Initialize, I get a first
chance exception whenever a property on one of my domain objects has a
validation attribute but is not mapped to the database.  (There are
some properties that I put validation attributes on even though they
don't live in the db)

This is painful during debugging, because the IDE breaks for these
first chance exceptions.

Has anyone encountered this before? I am wondering why the validator
is throwing these exceptions (I shoudl be able to initialize an entity
that has validation attributes on properties that are not mapped to
the db)

If anyone has any suggestions on what I should do to prevent these
exceptions from being thrown, I would greatly appreciate it.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to