Subject | Re: [Firebird-Java] Jaybird 3 embedded with FB 2.5/3.0 |
---|---|
Author | Mark Rotteveel |
Post date | 2018-09-20T13:43:47Z |
On 20-9-2018 14:44, hugo.larson@... [Firebird-Java] wrote:
main focus of development, that said, everything, including back up and
restore should work (I may be forgetting some edge cases that aren't
supported though).
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.
My experience with Firebird embedded on Ubuntu is limited, but until
now, each time I've had to install the full Firebird server package to
get it working correctly.
Mark
--
Mark Rotteveel
> I'm really curios about using Jaybird embedded on our Ubuntu server.Embedded (and native) are the stepchild of Jaybird: they are not the
> Especially that we don't have to install anything and can access both
> versions of Firebird database files.
>
> Does Jaybird embedded have any limitations or drawbacks? Is it for
> example possible to perform backup/restore with Jaybird embedded?
main focus of development, that said, everything, including back up and
restore should work (I may be forgetting some edge cases that aren't
supported though).
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.
My experience with Firebird embedded on Ubuntu is limited, but until
now, each time I've had to install the full Firebird server package to
get it working correctly.
Mark
--
Mark Rotteveel