How to shutdown Jaybird embedded

13 views
Skip to first unread message

Pierre Vacher

unread,
Aug 25, 2024, 5:47:31 AM8/25/24
to firebird-java
Hi all,

I am using Faybird in embedded mode (ie: jdbc:firebird:embedded) and I would like to know if there is a procedure to properly close the database after the last connection is closed.

Some databases require that the database be closed by a specific command (ie: Derby) while others do it automatically when the last connection is closed (ie: HsqlDB, H2db).

What about Jaybird?

Thanks

Mark Rotteveel

unread,
Aug 25, 2024, 5:50:46 AM8/25/24
to firebi...@googlegroups.com
You don't need to do anything specific. If the last connection is
closed, the database file is closed as well. Possibly the linger setting
has an effect on this, but I'm not 100% sure it also applies for
embedded or only for Firebird server.

Mark
--
Mark Rotteveel

Pierre Vacher

unread,
Aug 25, 2024, 6:22:17 AM8/25/24
to firebird-java
Thanks for confirming this so quickly Mark.
Reply all
Reply to author
Forward
0 new messages