Apache OpenOffice (AOO) Bugzilla – Issue 74531
Actual Technologies ODBC driver throws error when accessing tables
Last modified: 2013-08-07 15:45:17 UTC
Platform : MacIntel Tiger, latest security fixes Driver : ODBC driver from Actual Technologies for MacOSX (www.actualtechnologies.com) Remote DB : mysql I downloaded, installed and configured the ODBC drivers on a MacIntel Tiger to access a remote MySQL database. The connection test from within the installer worked fine. I then tried to set up an ODBC datasource document from within OpenOffice.org. This worked and I can see the list of tables when I click on the Tables icon button on the left hand side of the ODB document pane, However, if you double-click on any given table to open it and display its contents (equivalent to the SQL instruction : SELECT * from Table1), or if you attempt to execute a query directly on the table, via the Query button (native SQL or SQL View), even if you limit the responses to 3 (since this is an automatic limitation of the demonstration period driver, this shouldn't be necessary, but I did the test anyway), the following error message is displayed : Driver does not support this function XRow::getLong When you click on the error message window, the table window will then display, but no data is available. I have contacted Actual Technologies and they have confirmed that this problem exists with their driver in OOo 2.1, but not in the OOo 2.0.x branch, which means that something somewhere got broken in the OOo development, or that the driver was making a call that was tolerated in the 2.0.x branch and which now throws an error. It would be nice if this could be sorted, since at present there appears to be no means of connecting a MacIntel to a remote mysql db. Alex
setting regression and oooqa keywords
BTW, I can't test this against a dev 2.2 version of OOo because it is on a production machine. Alex
can you have a look on this mac issue.
back
Is the issue still valid with a OOo 3.3?
Hi Ocke, Well I don't get the same error message anymore. I can connect to my mysql database. I can see my tables when I click on the Tables button in the ODB container. However, when I try to get any data to display by clicking on any of the tables, I get the following error message, and of course no data are displayed : Impossible de charger le contenu des données (i.e. can not load data content) Error Status SQL: 24000 [Actual][MySQL] Invalid cursor state The following SQL instruction caused the error : SELECT * FROM `action_type` Using the latest Actual Technologies ODBC driver 3.0.13, which uses a mysqlclient library version 4.1.14, and on Mac OSX, using OOo 3.3 final. Alex
Addendum : In other words, it still doesn't work. Alex
I'll take a look at it.