Apache OpenOffice (AOO) Bugzilla – Issue 26637
retrieving umlaut values from postgresql yields an error
Last modified: 2006-05-31 14:29:06 UTC
When trying to retrieve rows from a postgresql database via JDBC, I get the error message "Result set not positioned properly, perhaps you need to call next()." Environment: SuSE Linux 9.0 Sun JRE 1.4.2 OpenOffice 1.1.0 PostgreSQL 7.3.4 pg73b1jdbc2.jar To reproduce: Create a database connection using JDBC to your postgresql database, which contains a table with umlaut values (like "Müller" for instance). Press F4 while viewing some document to see the data sources. Select the database and then the table with the umlauts. The rows will not show - instead you get the above mentioned error message. After changing "Müller" to "Mueller" (using psql), everything works fine again.
hi, I can't reproduce this. I have no problem with this latest posgres driver pg73jdbc3.jar. Please test if this also happend with this driver and and OOo 1.1.1RC. Bye and thanks Marc
I have downloaded OpenOffice 1.1.1 in German. At first the error persisted. Then I created a new database with encoding='ISO8859-1', which corrected it. So, the error always appears when you try to retrieve umlaut values (äöüß) from databases with encoding='SQL_ASCII'. This hint should find its way into the documentation. The issue can be closed now. Regards, Holger
Hi, OK, I close this issue now. Bye Marc
close