Skip to content

Commit

Permalink
new version 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
prrvchr committed Jun 7, 2024
1 parent 5ee92fd commit 092c3c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ Clients using the jdbcDriverOOo driver can access features of the underlying JDB
- [Modification of the handling][111] of the `JavaDriverClassPath` connection parameter. This parameter can now designate a directory and in this case all contained jar files will be added to the `Java ClassPath`. This allows dynamic loading of JDBC drivers requiring multiple archives (ie: Derby and Jaybird embedded). This change was made to allow the new [JaybirdOOo][112] extension to work.
- Resumed part of the implementation of `javax.sql.rowset.CachedRowSet` in the [ScrollableResultSet.java][113] and [SensitiveResultSet.java][114] ResultSet in order to simulate the `TYPE_SCROLL_SENSITIVE` type from ResultSet of type `TYPE_FORWARD_ONLY` and `TYPE_SCROLL_INSENSITIVE` respectively. This allows LibreOffice Base to use bookmarks (ie: the UNO interface [XRowLocate][104]) which allow positioned insertions, updates and deletions and therefore, for databases supporting it, the possibility of edit tables containing no primary key. In addition, an [SQL mode][115] **allows any ResultSet to be editable.** This mode can be validated in the extension's options, it is very powerful and should therefore be used with caution. Concerning result sets of type `TYPE_FORWARD_ONLY`, their implementation progressively loading the entire data of the result set into memory can lead to a memory overflow. Implementing pagination will eliminate this risk.
- Added MySQL Connector/J version 8.4.0 driver. This driver does not seem to work correctly, quite surprising errors appear... I leave it in place in case people are ready to participate in its integration? Use with caution.
- Following the request of [PeterSchmidt23][116] addition of the driver [Trino][117] version 448. Not knowing Trino, which also looks astonishing, only the beginning of integration has been carried out. Editing the contents of the tables is not yet possible. The name of the tables must be in lowercase in order to authorize their creation.
- The implementation of `CachedRowSet` seems to have solved the problem of inserting cells from Calc, see [issue #7][118].
- Following the request of [PeterSchmidt23][116] addition of the driver [Trino][117] version 448. Not knowing Trino, which also looks astonishing, only the beginning of integration has been carried out. Editing the contents of the tables is not yet possible, seer [issue #22306][118]. The name of the tables must be in lowercase in order to authorize their creation.
- The implementation of `CachedRowSet` seems to have solved the problem of inserting cells from Calc, see [issue #7][119].
- Many corrections and improvements...

### What remains to be done for version 1.3.3:
Expand Down Expand Up @@ -629,4 +629,5 @@ Clients using the jdbcDriverOOo driver can access features of the underlying JDB
[115]: <https://github.com/prrvchr/jdbcDriverOOo/blob/master/source/jdbcDriverOOo/source/io/github/prrvchr/jdbcdriver/rowset/RowSetWriter.java#L41>
[116]: <https://github.com/prrvchr/jdbcDriverOOo/issues/8>
[117]: <https://trino.io/>
[118]: <https://github.com/prrvchr/jdbcDriverOOo/issues/7>
[118]: <https://github.com/trinodb/trino/issues/22306>
[119]: <https://github.com/prrvchr/jdbcDriverOOo/issues/7>
7 changes: 4 additions & 3 deletions README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ Les clients utilisant le pilote jdbcDriverOOo peuvent accéder aux fonctionnalit
- [Modification de la gestion][111] du paramètre de connexion `JavaDriverClassPath`. Ce paramètre peut désormais désigner un répertoire et dans ce cas tous les fichiers jar contenus seront ajoutés au `Java ClassPath`. Cela permet le chargement dynamique des pilotes JDBC nécessitant plusieurs archives (ie: Derby et Jaybird embedded). Cette modification a été apportée pour permettre à la nouvelle extension [JaybirdOOo][112] de fonctionner.
- Reprise d'une partie de l'implémentation de `javax.sql.rowset.CachedRowSet` dans les jeux de résultats [ScrollableResultSet.java][113] et [SensitiveResultSet.java][114] afin de simuler le type `TYPE_SCROLL_SENSITIVE` à partir des jeux de résultats de type `TYPE_FORWARD_ONLY` et `TYPE_SCROLL_INSENSITIVE` respectivement. Cela permet à LibreOffice Base d'utiliser des signets (ie : l'interface UNO [XRowLocate][104]) qui permettent des insertions, mises à jour et suppressions positionnées et donc, pour les bases de données le supportant, la possibilité d'éditer des tables ne contenant aucune clé primaire. De plus, un [mode SQL][115] **permet de rendre éditable n'importe quel ResultSet.** Ce mode peut être validée dans les options de l'extension, elle est trés puissante et donc à utiliser avec prudence. Concernant les jeux de résultats de type `TYPE_FORWARD_ONLY`, leur implémentation chargeant progressivement l'intégralité des données du jeu de résultats en mémoire peut conduire à un débordement de mémoire. La mise en oeuvre d'une pagination éliminera ce risque.
- Ajout du pilote MySQL Connector/J version 8.4.0. Ce driver ne semble pas fonctionner correctement, des erreurs assez surprenantes apparaissent... Je le laisse en place au cas où des gens seraient prêts à participer à son intégration? A utiliser avec précaution.
- Suite à la demande de [PeterSchmidt23][116] ajout du pilote [Trino][117] version 448. Ne connaissant pas Trino, qui a l'air étonnant par ailleur, seulement un début d'intégration a été réalisée. L'edition du contenu des tables n'est pas encore possible. Le nom des tables doit être en minuscule afin d'autoriser leur création.
- L'implémentation de `CachedRowSet` semble avoir résolu le problème d'insertion de cellules depuis Calc, voir [dysfonctionnement #7][118].
- Suite à la demande de [PeterSchmidt23][116] ajout du pilote [Trino][117] version 448. Ne connaissant pas Trino, qui a l'air étonnant par ailleur, seulement un début d'intégration a été réalisée. L'edition du contenu des tables n'est pas encore possible, voir [dysfonctionnement #22306][118]. Le nom des tables doit être en minuscule afin d'autoriser leur création.
- L'implémentation de `CachedRowSet` semble avoir résolu le problème d'insertion de cellules depuis Calc, voir [dysfonctionnement #7][119].
- De nombreuses corrections et améliorations...

### Que reste-t-il à faire pour la version 1.3.3:
Expand Down Expand Up @@ -629,4 +629,5 @@ Les clients utilisant le pilote jdbcDriverOOo peuvent accéder aux fonctionnalit
[115]: <https://github.com/prrvchr/jdbcDriverOOo/blob/master/source/jdbcDriverOOo/source/io/github/prrvchr/jdbcdriver/rowset/RowSetWriter.java#L41>
[116]: <https://github.com/prrvchr/jdbcDriverOOo/issues/8>
[117]: <https://trino.io/>
[118]: <https://github.com/prrvchr/jdbcDriverOOo/issues/7>
[118]: <https://github.com/trinodb/trino/issues/22306>
[119]: <https://github.com/prrvchr/jdbcDriverOOo/issues/7>

0 comments on commit 092c3c5

Please sign in to comment.