What we need is just a NHIbernate read only session. If the validation
error occurs inside an transactional, an abort seems to be the natural
path. Outside it, the read-only Session should cover the scenarios
were a flush isn't desirable.

How do you open and close the session during web requests?

Cheers,
Henry Conceição



On Tue, Oct 5, 2010 at 8:59 AM, Jordan Muscott
<[email protected]> wrote:
> Any news on this?
>
> IMO this is an important change.
> Without it, it is not possible to put validation on your domain
> objects in a multi tiered web application, because any changes are
> likely to end up being persisted even if the object has failed
> validation.
>
> regards,
> Jordan.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Development List" 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/castle-project-devel?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en.

Reply via email to