http://nhforge.org/doc/nh/en/index.html#batch-statelesssession

Operations performed via a stateless session bypass NHibernate's event 
> model and interceptors


On Friday, June 15, 2012 4:01:35 AM UTC-6, pvginkel wrote:
>
> In the reference document, 
> http://nhforge.org/doc/nh/en/index.html#example-parentchild-update describes 
> a mechanism through which an application can track whether an entity is 
> transient. However, with stateless sessions, interceptors aren't called. 
> The problem I'm having is that when you choose to implement transient 
> tracking using the described mechanism, stateless sessions become useless: 
> NHibernate doesn't track whether an entity is transient and the application 
> can't tell the entity was loaded from a stateless session.
>
> The question I have is whether this is an issue with the documentation (it 
> doesn't state this fact) or that this is a bug/feature request for 
> NHibernate to provide an alternative mechanism to let an application track 
> whether an entity is transient.
>

Reply via email to