Subject | Jaybird 2.0 problems with JBuilderX with other Databases |
---|---|
Author | hhugo_11 |
Post date | 2005-08-07T16:31:04Z |
I have discovered a strange problem with jaybird 2 when used with
other databases.
I'm using JBuilderX for a project together with jaybird 2 jdbc and
mysql jdbc.
For some reason when a mysql dataset is opened a jaybird exception is
thrown.
I tried with Oracle 8_1_7 and the same exception is thrown
This behavior did not occur with older jaybird.
I have uploaded test code for this problem.
See com.borland.dx.dataset.DataSetException error code: BASE+62
com.borland.dx.dataset.DataSetException: Execution of query failed.
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.queryFailed(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.a(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at jaybird_test.DataModule1.<init>(DataModule1.java:48)
at jaybird_test.DataModule1.getDataModule(DataModule1.java:155)
at jaybird_test.Frame1.jbInit(Frame1.java:47)
at jaybird_test.Frame1.<init>(Frame1.java:35)
at jaybird_test.Application1.<init>(Application1.java:20)
at jaybird_test.Application1.main(Application1.java:50)
Chained exception:
java.lang.NullPointerException
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnectionFactory.java:110)
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnectionFactory.java:104)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:111)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at
com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown
Source)
at com.borland.dx.sql.dataset.o.a(Unknown Source)
at com.borland.dx.sql.dataset.o.d(Unknown Source)
at com.borland.dx.sql.dataset.o.f(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at jaybird_test.DataModule1.<init>(DataModule1.java:48)
at jaybird_test.DataModule1.getDataModule(DataModule1.java:155)
at jaybird_test.Frame1.jbInit(Frame1.java:47)
Regards,
Hugo
other databases.
I'm using JBuilderX for a project together with jaybird 2 jdbc and
mysql jdbc.
For some reason when a mysql dataset is opened a jaybird exception is
thrown.
I tried with Oracle 8_1_7 and the same exception is thrown
This behavior did not occur with older jaybird.
I have uploaded test code for this problem.
See com.borland.dx.dataset.DataSetException error code: BASE+62
com.borland.dx.dataset.DataSetException: Execution of query failed.
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.queryFailed(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.a(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at jaybird_test.DataModule1.<init>(DataModule1.java:48)
at jaybird_test.DataModule1.getDataModule(DataModule1.java:155)
at jaybird_test.Frame1.jbInit(Frame1.java:47)
at jaybird_test.Frame1.<init>(Frame1.java:35)
at jaybird_test.Application1.<init>(Application1.java:20)
at jaybird_test.Application1.main(Application1.java:50)
Chained exception:
java.lang.NullPointerException
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnectionFactory.java:110)
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnectionFactory.java:104)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:111)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at
com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown
Source)
at com.borland.dx.sql.dataset.o.a(Unknown Source)
at com.borland.dx.sql.dataset.o.d(Unknown Source)
at com.borland.dx.sql.dataset.o.f(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at jaybird_test.DataModule1.<init>(DataModule1.java:48)
at jaybird_test.DataModule1.getDataModule(DataModule1.java:155)
at jaybird_test.Frame1.jbInit(Frame1.java:47)
Regards,
Hugo