Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Lionel Elie Mamane wrote
It would seem to me that indeed the "ownDeletesAreVisible" is
wrong. OTOH, it was "==" and it was changed in (by Ocke Janssen, not
Olivier
Bolte, who as far as I understand has done the merge):
...
So I would like to be cautious there. I cannot find any definite
source whether "ownDeletesAreVisible" means "the deleted rows are
still visible" or "the delete action is visible -> the deleted rows
are not visible". If we can find some good documentation or example
from another JDBC driver...

I found a French link (but it's not official),
http://blog.paumard.org/cours/jdbc/chap05-resultset-types.html
"
On peut tester si notre ResultSet voit ses propres suppressions ou pas, par
appel à la méthode DatabaseMetaData.ownDeletesAreVisible(int type). Si elles
le sont, alors la méthode rowDeleted() retourne true si la ligne a été
effacée, false sinon....

Il est important de savoir si un ResultSet est sensible ou non aux lignes
que l'on efface dedans, car dans certaines implémentations, les lignes
effacées ne sont pas retirées, mais remplacées par des lignes vides. 
"
quick and dirty translation:
"We can test if our resultset sees its own deletes or not, when calling
DatabaseMetaData.ownDeletesAreVisible(int type). If deletes are visible, so
the RowDeleted() method returns "true" if the row has been removed, false
otherwise. ..

It's important to know if a Resultset takes into account the rows deleted in
it, because in some implementations, the deleted rows are not removed but
replaced by empty rows.
"

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-parts-in-ODatabaseMetaData-cxx-connectivy-module-odbc-part-tp4104005p4104183.html
Sent from the Dev mailing list archive at Nabble.com.

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.