Thank you. Can you please let me know the syntax of the isolation
On Sep 19, 2:39 pm, Fabio Maulo <
fabioma...@gmail.com> wrote:
> If you need that isolation level for anything you can set it as default in
> nh-config.
>
>
>
>
>
>
>
>
> > The DBA's I work with gave us a similar issue but it was on SQL Server
> > and they wanted WITH(NOLOCK) added to every select/join. Using a
> > transaction isolation level of ReadUncommitted gives us the
> > equivalent. Not sure if it will do the same for you in DB2 or not.
>
> > using (session.BeginTransaction(IsolationLevel.ReadUncommitted)
> > return session.CreateCriteria<Type>().List<Type>();
>
> > On Sep 18, 7:08 pm, Newbie <
karamjit.k...@gmail.com> wrote:
> > > We are using NHibernate to interact with DB2 ZOS. For general selects,
> > > we would like NHibernate to execute all selects with "WITH UR"
> > > keyword to perform dirty reads. We are new to NHibernate. Any ideas
> > > on how we can automatically append "WITH UR" to all select statements?
> > > Thanks in advance.
>
> --