Hi, On Thu, Oct 22, 2009 at 2:47 PM, Torgeir Veimo <[email protected]> wrote: > 2009/10/22 Jukka Zitting <[email protected]>: >> Are you using the TransientRepository class? Then it could be that the >> entire repository gets started up when you run login(). You can avoid >> that by either keeping one long-lived session open, [...] > > Wouldn't the finalizer in Session call the close() method internally > at some point, if the session is not referenced elsewhere?
Sure, but what's preventing you from keeping the session reference? BR, Jukka Zitting
