Apache OpenOffice (AOO) Bugzilla – Issue 3332
my jdbc-driver crashes oo641b
Last modified: 2006-05-31 14:29:06 UTC
hi! for reading data from mysql-databases i have started to write a (very experimental) jdbc- driver, which connects to mysql-databases via http and a server-side perl/cgi-script. the reason, why i started this project is, that webspace-providers usually don't allow direct access to mysql-databases. the driver already works with the isql database client (isql.sf.net). you can test my driver (jdbchttp.jar) with the following parameters: JDBC-Driver-Class: net.nfrese.jdbchttp.DriverImpl URL: jdbc:http:pldbi:www.scheinwelt.at/cgi- bin/testjdbcgate/jdbcgate.cgi#DBI:mysql:dynlinks user: test passwd: testpw as soon as i execute a sql-query like 'select * from linktab' oo641c crashes with: "an unrevoverable error has occured..." it seems, that openoffice has problems displaying the resultset. i know that my jdbc-implementation is still very simple and buggy, but it should not crash openoffice... ;-) norbert
Created attachment 1147 [details] experimental jdbc/http/perl-dbi jdbc driver
I can't reproduced this problem, but some other problems with this driver. Saying with other words, I have found some problems(crashes) with a driver which doesn't implement all functions correct. So it's more a general problem. The dba component expected that all works correct, but sometimes it isn't ;-).
oh! openoffice is not a good jdbc-driver debugging suite? ;-) you are right. my driver does not implement all functions correctly yet (it's about one week old). there are lots of things missing... the problem is, that every jdbc-client behaves differently and i only want to implement the 'really necessary' subset of the jdbc- functions. it would help to see more verbous error-messages than 'unrecoverable error...'. i'd like to know where the crash happens. but maybe i'm spoilt with the comforts of java-exception handling... ;- ) greetings norbert
adding "needhelp" keyword - perhaps external developers do want to have a look at this?
Hi, I made the code a little bit more error tolerant so that we should GPF now. The problem with your driver is that it doesn't support PreparedStatements. Another points is the DatabaseMetaData.getColumns method which should return something. Best regards, Ocke
change subcomponent to 'none'
closed