if the session if disconnected the abstract proxy initializer \ abstract persisted collection throw an exception what i've done is enabled it to reconnect just for the lazy fetch, and then disconnect
On Sun, Feb 7, 2010 at 10:06 PM, Fabio Maulo <[email protected]> wrote: > 2010/2/7 nadavsof <[email protected]> > > i can't get any response from you guys in the users forum so i'll try >> here... >> using anonymous pl-sql block i've implemented a multi criteria class >> for oracle support >> > > You can use our issue tracker to send patch with tests (obviously). > > >> >> in addition, i've added a config key for enabling lazy fetching to >> automatically reconnect the session if it is disconnect (but not if it >> is closed, its actually good for my team and i've decided to make it >> configurable, also added a config key for enabling auto disconnect >> session if it was automatically reconnected). >> > > For me is not clear what you are doing here. AFIK the session is not > connected only because it is open and for lazy loading what you need is only > the session where the collection/relation-owner was loaded; NH will > reconnect, fetch and disconnect to perfom the load. > > >> >> i've also sent this group a mail and haven't got any response so i'm >> writing it here also >> > > which group ? > > >> >> hope to hear from you, nadav. >> : >> >> hello, i've started using NHibernate in september, and became a big >> > fan. When i've noticed some stuff where missing that my project really >> > needed, i've >> > started developing them my self. >> > i've actually really enjoyed going into the nhibernate code and fixing >> > these things, and would very much like to join the project >> > >> > my experience is: >> > degree in computer science from Tel Aviv University (israel) >> > 5 years experience developing with Asp.Net 1.1 and 3.5, and working with >> > SqlServer2005 and Oracle 10g (alot of experience with both) >> > i am currently an architect for two projects, one consits of 5 >> > developers and the other of 4. >> > I have alot of experience with developing and designing within an >> > existing project, and recently we've started working on writing a >> > reletively >> > big application from scratch using an architecture and high level design >> i >> > wrote based on NHibernate, and mainly criteria API. >> > >> > anyway, i hope to hear from you soon >> >> > my mail is [email protected] >> > thanks. >> > > > > -- > Fabio Maulo > >
