Subject | Re: Type 2 driver modifications are ready for review. |
---|---|
Author | Luca Lafranchi |
Post date | 2003-06-18T17:54:27Z |
Wait...that's what I missed! The type 2 driver in client/server mode.
I only thought about the embedded mode...
So we have here three different types of connection:
- jdbc:firebirdsql://... it's the type 4 driver;
- jdbc:firebirdsql:native:... it's the type 2 driver connecting to a
server;
- jdbc:firebirdsql:native_embedded:... it's the type 2 driver which
usese the embedded server.
I will then wait for your commits :)
Thanks for the explanation...
BTW, has anyone an idea to why the cvs on sourceforge is failing so
often: it happens that I must try many times before I can update the
sources. When it fails I get something like "EOF from the server"...
Are they overloaded?
Ciao
Luca
--- In Firebird-Java@yahoogroups.com, "Ryan Baldwin"
<ryan.baldwin@n...> wrote:
I only thought about the embedded mode...
So we have here three different types of connection:
- jdbc:firebirdsql://... it's the type 4 driver;
- jdbc:firebirdsql:native:... it's the type 2 driver connecting to a
server;
- jdbc:firebirdsql:native_embedded:... it's the type 2 driver which
usese the embedded server.
I will then wait for your commits :)
Thanks for the explanation...
BTW, has anyone an idea to why the cvs on sourceforge is failing so
often: it happens that I must try many times before I can update the
sources. When it fails I get something like "EOF from the server"...
Are they overloaded?
Ciao
Luca
--- In Firebird-Java@yahoogroups.com, "Ryan Baldwin"
<ryan.baldwin@n...> wrote:
> Hello,potential
>
> I appologise for the slow reply, and also for not picking up the
> problem in the first time around.embeded
>
> The URL 'jdbc:firebirdsql:native://localhost/e:/path/to/mydb.fdb' will
> attempt to use the driver in type 2 mode - as opposed to using the
> database.database
>
> The driver is loading either fbclient.dll or gds32.dll and attempting to
> make a connection to an interbase or firebird server - and this is
> presumably not running on localhost which is why the unavailable
> exception is being thrown.perhaps
>
> My current intention is to use something like
> jdbc:firebirdsql:native_embeded://localhost/e:/path/to/mydb.fdb -
> allowing the host and port name to be exluded - for using the embededcommiting
> server. This has not been done in
> firebirdsql-full_withtype2changes_02.jar(the code which I will be
> today with any luck). Basicly for the driver its a matter oflinking with a
> different library fbembeded.dll as opposed to the actual clientlibrary. I
> will add this in shortley after commiting the main modifications -at which
> point the cvs version of the driver will be usable with the embeded
> database.
>
> I will let you know once I have commited everything needed to use the
> embeded server to CVS. It should only be a matter of days now.
>
> Thanks
> Ryan
>
>