Yeah it would make sense for hibernate to have an lazy="auto" setting in which it connected to the db only when needed...too bad..
On 8/30/05, Robert Zeigler <[EMAIL PROTECTED]> wrote: > Patrick Casey wrote: > > <snip> > > I really think the whole "we refuse to automatically reconnect to > > lazy-load a connection and instead insist on throwing and exception" is > > database-purist-arrogance on the part of the Hibernate team. Most of their > > library is great, but this behavior is just *not* web friendly, and their > > smug assurance that it's "not a big deal to workaround" turns out not to be > > true in practice. > > > > --- Pat > </snip> > > <shameless-plug> > Cayenne handles lazy-initialization very nicely. :) > </shameless-plug> > > Robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
