Subject Re: Type 2 vs. Type 4 Performance
Author sbnspindler
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
> > I think that should be FAQ but I didn't find an answer on this.
>
> That is in release notes, see page 6.
>
> > Is Jaybird faster in Type 2 Mode than Type 4 when running the DB
on
> > the local Machine
>
> If you access the database witl jdbc:firebirdsql:local:..., yes,
otherwise -
> slower.
>
> > ? Do I lose/get more Features with one of the two possibilities ?
>
> Featurewise they are the same. The biggest drawback is that you
load an
> external shared library in your JVM process. So, if it is buggy and
crashes,
> your complete JVM crashes. Also check release notes for information
about
> multithreaded access under Linux.
>
> Roman

I've firebird 1.5.2 on linux and I want to connect local (without
socket communication) to my database.
With jdbc:firebird:local:<my_database> i always get the exception

java.lang.RuntimeException: Failed to initilize jaybird native
library. This is most likley due to a failure to load the firebird
client library.
at
org.firebirdsql.ngds.GDS_Impl.attemptToLoadAClientLibraryFromList(GDS
_Impl.java:135)
...
although i think libfbembed.so and libfbclient.so are correctly
installed.

If I try to connect with jdbc:firebird:native:<my_database> it works.
But then it doesn't use IPC communication, is this right ?

Sabine