On Sun, 2013-08-25 at 17:48 +0100, Andrzej Hunt wrote:
- Data Insertion works but buggy.*
*Data is entered in the db ok (i.e. shown after closing and reopening a
table), but shown either incorrectly or not at all in the GUI directly
after insertion -- this is an anomaly in the interaction of dbaccess's
RowSet/CacheSet/etc. and the firebird-sdbc ResultSet which I'm currently
investigating.
I've tracked the issue down to PreparedStatement::executeUpdate not
returning the correct number of rows changed (I hadn't got around to
implementing this -- 0 was returned as a temporary solution) and
dbaccess's KeySet relies on this value to detect that an insert has
taken place. I've put a quick hack in place to make things work (return
1), so the driver is more or less usable for most editing of strings in
the Gui now.
(I'll try and add correct detection of the rows changed for
executeUpdates return value, and add support for basic numeric types
next.)
Cheers,
Andrzej
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.