Executing two SQL commands fails with Firebird embedded. CREATE TABLE "Members" ( "ID" INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY, "FirstName" VARCHAR(20) NOT NULL , "LastName" VARCHAR(20) NOT NULL, "EmailName" VARCHAR(20), "EmailDomain" VARCHAR(20), "DateJoined" DATE ); INSERT INTO "Members" ("FirstName", "LastName", "EmailName", "EmailDomain") VALUES ('test','user2','testuser2','soroban.co.uk'); Error report 1: firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Token unknown - line 9, column 1 *INSERT caused by 'isc_dsql_prepare' This works as expected with HSQLDB embedded
Seems there is an explanation and a way to do in Ask. https://ask.libreoffice.org/en/question/242377/base-execute-sql-command/
(In reply to m.a.riosv from comment #1) > Seems there is an explanation and a way to do in Ask. > https://ask.libreoffice.org/en/question/242377/base-execute-sql-command/ Given the tests made in that discussion, I'm wondering whether this might have something to do with transaction management within the SDBC connector. Are transactions autocommitted with embedded hsqldb when run from the SQL command line tool in LO or does the SDBC driver somehow pick up the parameter from the DB as to whether transactions are autocommitted ?
Confirming nonetheless with Version : 6.4.3.2 Build ID : 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8 Threads CPU : 8; OS : Mac OS X 10.15.4; UI Render : par défaut; VCL: osx; Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR Calc: threaded
Confirming that this works with embedded hsqldb.
Tested against postgresql 10.11 using the native postgres connector. The combined execution also works there, creating the table and populating it.
That's because the firebird driver doesn't implement the css::sdbc::XMultipleResults interface.
can't help here. => uncc myself
Confirming nonetheless with Version: 7.2.5.2 (x64) / LibreOffice Community Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: en-IE (en_IE); UI: en-GB Calc: threaded
Dear jcs.LibreOffice, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug