Subject Re: [Firebird-Java] Re: How to properly close FB embedded database?
Author Alec Swan
How do I close the "attachment"? Do you mean closing the last
java.sql.Connection or calling FBManager.stop()? We tried both to no vail.

On Wed, Oct 7, 2009 at 9:40 AM, Adriano dos Santos Fernandes <
adrianosf@...> wrote:

>
>
> Roman Rokytskyy escreveu:
>
> >> Could anybody provide an insight on how to properly close embedded
> >> connections and clean up caches without shutting down the JVM?
> >>
> >
> > You close the embedded connections the same way you close "normal"
> > connections.
> >
> > I suspect there is no chance to clean the Firebird Embedded caches
> > without shutting down the JVM - the Firebird Embedded on Windows is
> > based on SuperServer architecture, cache applies to process, not to a
> > particular connection.
> The caches are per-databases, when last attachment is closed it will go
> away.
>
> There is the OS file-system cache, but if it's a problem, there is an
> option in firebird.conf to avoid its use.
>
> Adriano
>
>
>


[Non-text portions of this message have been removed]