Subject Re: [Firebird-Java] java.library.path
Author Pruteanu Dragos
Thank you for replys. Now I got it working.




________________________________
From: Roman Rokytskyy <roman@...>
To: Firebird-Java@yahoogroups.com
Sent: Thursday, August 6, 2009 11:22:09 PM
Subject: Re: [Firebird-Java] java.library.path



> Jaybird has several drivers:
> pure Java (type 4): jdbc:firebirdsql: //<host>: <port>/<db- path> and
> (old-style) jdbc:firebirdsql: <host>/<port> :<db-path>

there is one more:

jdbc:firebirdsql: java:<host> /<port>:< db-path>

> native/JNI (type 2): jdbc:firebirdsql: native:<host> /<port>:< db-path>
> local/JNI (type 2): jdbc:firebirdsql: local:<db- path>
> embedded/JNI (type 2): jdbc:firebirdsql: embedded: <db-path>

The whole idea with the URL is similar to what you have in Oracle, for
example:

jdbc:oracle: thin:<driver- specific- part>
jdbc:oracle: oci:<driver- specific- part>

In Jaybird we have:

jdbc:firebirdsql: java:
jdbc:firebirdsql: native:
jdbc:firebirdsql: local:
jdbc:firebirdsql: embedded:

which defines four different driver types, only that there is an "alias"
for "jdbc:firebirdsql: java:" - "jdbc:firebirdsql: " for simplicity and
compatibility reasons.

Roman






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