Subject Re: [Firebird-Java] Re: How to properly close FB embedded database?
Author Adriano dos Santos Fernandes
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