Article View: borland.public.jbuilder.database
Article #228Re: Firebird embedded and JBuilderx java applicatiomn
From: ctskinner
Date: Thu, 03 Aug 2006 04:34
Date: Thu, 03 Aug 2006 04:34
45 lines
2423 bytes
2423 bytes
Firebird embedded and JBuilderx java application
I am very close to getting Firebird embedded working with JBuilder
the DataModule wizard can see data
the setconnection throws no exceptions
But when I try to open a table [QueryDataSet in my program it throws a
com.borland.dx.dataset.DataSetException
dDriver = "org.firebirdsql.jdbc.FBDriver";
durl = "jdbc:firebirdsql:embedded:C:\\a\\emFirebird\\T21";
database1.setConnection(new com.borland.dx.sql.dataset.ConnectionDescriptor(durl, dUname, dpass, false, dDriver));
===========================================
com.borland.dx.dataset.DataSetException: Resource Exception. I/O error for file CreateFile (open) ""
Error while trying to open file
null
Reason: I/O error for file CreateFile (open) ""
Error while trying to open file
null
============================================
[nb its a QueryDataSet, not a 'file' that I am trying to open]
If I omit the "embedded" ie:
durl = "jdbc:firebirdsql:C:\\a\\emFirebird\\T21";
I get:
============================================
com.borland.dx.dataset.DataSetException: Resource Exception. Unable to complete network request to host "C".
Reason: Unable to complete network request to host "C".
============================================
Note: the setconnection throws no exception even when the url points to a directory which does _not_ contain my fdb database
The exceptions arise when I try to open a QueryDataSet
Technical Details
Message-ID:
<44d17cca$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44d05605$1@newsgroups.borland.com> <xn0ephp1917f32000-kdean@www.teamb.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,4e2c32cb126207b8 X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit From: "ctskinner" <ctskinner@yahoo.com> Sender: "ctskinner" <ctskinner@yahoo.com> Reply-To: "ctskinner" <ctskinner@yahoo.com> Subject: Re: Firebird embedded and JBuilderx java applicatiomn Newsgroups: borland.public.jbuilder.database X-User-Info: 220.101.175.81 References: <44d05605$1@newsgroups.borland.com> <xn0ephp1917f32000-kdean@www.teamb.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <44d17cca$1@newsgroups.borland.com> Date: 2 Aug 2006 21:34:18 -0700 X-Trace: newsgroups.borland.com 1154579658 207.105.83.66 (2 Aug 2006 21:34:18 -0700) Lines: 46 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail