Dear Guga you are doing something wrong or I have some applications that
can't work and some hundreds of test failing.

2009/6/16 Guga Oliveira <[email protected]>

>
> Dear Fabio
>
> We have changed the Identity strategy to hilo, but in the
> session.close the changes still goes to database, even with the
> flushmode = never. The session.close persists the changes, the
> transient and persistent objects are persisted? In our tests we don“t
> made a commit or flush, we create a session with session.flushmode =
> never, then we create a transient object and then call session.close
> (), and the objects are persisted.
>
> On 16 jun, 08:09, Guga Oliveira <[email protected]> wrote:
> > Thanks Fabio,
> >
> > We are writing for understanding purpose, we are looking in your work
> > nhAddins, nHibernate Burrows,and studying the best practices. Thanks a
> > lot for your help.
> >
> > On Jun 15, 11:34 pm, Fabio Maulo <[email protected]> wrote:
> >
> >
> >
> > > 2009/6/15 Guga Oliveira <[email protected]>
> >
> > > > Yes, It is identity on database, we must change? Use HiLo?  The
> > > > Identity does not work?
> >
> > > Identity does not work as you need.
> http://fabiomaulo.blogspot.com/2008/12/identity-never-ending-story.ht....
> ..
> >
> > > Btw... write your own session manager is not a great idea especially if
> you
> > > are starting with NH (believe me, and, for sure, do what you want).
> > > --
> > > Fabio Maulo- Ocultar texto das mensagens anteriores -
> >
> > - Mostrar texto das mensagens anteriores -
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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