Oops, interesting. Definitely, I was fighting with it in
some 0.9 version. I
didn't think that this could be a bug. I belive long time
ago I read in the
tutorial that session keeps track of all object it knows
about (both loaded
and inserted/updated), so I suggested that it checks them
for changes on
every flush. Wrong impression?
> On Behalf Of Peter Smulovics
> Sent: Tuesday, April 25, 2006 6:41 PM
>
> Hmmm, this was a bug in some 0.8/9.x versions, I fixed
it in
> my copy, and I think it was committed too, because I
don't
> remember having it lately...
>
> On 4/25/06, Andrew Mayorov <xor byte-force.com> wrote:
> > Peter, even if I will flush after updating of
every object and will
> > not evict it, session will scan all known objects.
Correct?
> >
> > > You should flush after updating let's say 25
objects, etc...
> > > There are patterns on how to do it if you dig
up the
> Hibernate docs
> > > and books...
> > > sadly, they haven't been translated into
NHibernate world
> yet, but
> > > most of them are understandable even than.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/
nhibernate-development
|