Subject Re: How to properly close FB embedded database?
Author Alec Swan
Could anybody provide an insight on how to properly close embedded
connections and clean up caches without shutting down the JVM?

Thanks.

On Mon, Oct 5, 2009 at 4:40 PM, Alec Swan <alecswan@...> wrote:

> We have a test suite with hundreds of tests some of which started to fail
> when we switched to Firebird. Here is the exception being thrown:
> "internal gds software consistency check (cannot start thread)"
>
> Each test uses its own database by creating a copy of the template database
> file and opening an embedded connection to the copy. I found this link<http://support.codegear.com/article/35856>and am suspecting that our tests are not properly closing databases.
>
> What is the right way to close the database and clear all its caches when
> the test completes?
>
> Thanks,
>
> Alec
>


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