Subject Re: [Firebird-Java] Jaybird 3 embedded with FB 2.5/3.0
Author Mark Rotteveel
On 20-9-2018 15:43, Mark Rotteveel mark@... [Firebird-Java]
> However your expectation of "especially that we .. can access both
> versions of Firebird database files" is not correct, unless you are
> using separate Java processes per database, and correctly set the
> jna.library.path per process. Jaybird only loads one embedded library,
> and if this is the Firebird 3 embedded library, it won't be able to open
> the Firebird 2.5 database (or vice versa). Installing both versions of
> Firebird server on different ports is a far more sure way for accessing
> both Firebird 2.5 and 3.0 databases.

This single embedded library per process is a limitation of the current
implementation. It could be changed, but that would require some work
(and more headaches around the cleanup).

Mark Rotteveel