You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Raffaele Gambelli <Ra...@cegeka.com.INVALID> on 2025/10/17 12:51:20 UTC
Mongodb upgrade from 5.x to latest
First of all, thank you for completing the mongodb driver upgrade. Now I would like to ask if there are plans to support the latest versions of mongodb.
Which version of oak do you usually use? I am currently using the latest version of mongodb-community-server 5, 5.0.31, but mongodb is now at version 8.
Best regards
Cordiali saluti / Best regards,
Raffaele Gambelli
Application Architect
E Raffaele.Gambelli@cegeka.com<ma...@cegeka.com>
M +39 3371641888
[cid:8b1e98b1-098f-4e8d-b56c-c7f69412c402]
[CEGEKA]
Via Ettore Cristoni, 84
IT-40033 Bologna (IT), Italy
T +39 02 2544271
WWW.CEGEKA.COM<https://www.cegeka.com>
Dichiarazione di Riservatezza<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
Le informazioni contenute nella mail sono riservate. Se si rende conto di non essere il destinatario corretto della mail, la preghiamo di segnalare l'errore al mittente e di cancellare immediatamente il messaggio. L’utilizzo improprio di informazioni riservate può comportare sanzioni.<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
Protezione dei dati personali<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
La informiamo che i suoi dati saranno trattati da Cegeka nel rispetto delle disposizioni di legge applicabili (D. Lgs 196/2003 e Regolamento UE 679/2016). Per maggiori dettagli può consultare le nostre informative privacy al link <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO> https://www.cegeka.com/it/informazioni-sulla-privacy<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/NsT>.<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
Re: Mongodb upgrade from 5.x to latest
Posted by Raffaele Gambelli <Ra...@cegeka.com.INVALID>.
Thank you, Jose, I'll try it then.
Best regards
Cordiali saluti / Best regards,
Raffaele Gambelli
Application Architect
________________________________
From: Jose Cordero <jo...@apache.org>
Sent: Sunday, October 19, 2025 1:55 AM
To: oak-dev@jackrabbit.apache.org <oa...@jackrabbit.apache.org>
Subject: Re: Mongodb upgrade from 5.x to latest
Hi Raffaele,
Thank you as well for your contributions to upgrading the Mongo driver!
The documentation seems to be a bit outdated, and I’ll try to update it as
soon as possible:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjackrabbit.apache.org%2Foak%2Fdocs%2Fnodestore%2Fdocument%2Fmongo-document-store.html&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691454631%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=xyEMuJ2jKEIn%2FXSulRYpUHC2gSDAC5PLPqCdtOIra4I%3D&reserved=0<https://jackrabbit.apache.org/oak/docs/nodestore/document/mongo-document-store.html>
I’ve been using Mongo 8 for a while now, always with the latest Oak
version, and everything has worked fine. Even the previous Java Driver
(3.12) was still compatible with Mongo 8.0, following Mongo’s compatibility
matrix as a reference:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mongodb.com%2Fdocs%2Fdrivers%2Fcompatibility%2F%3Fall-languages%3Djava%26java-driver-framework%3Djava-sync&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691474136%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=t0LfzRf%2FzaH%2FeaOQXKsVHY0Yeb2qRYsbmMvpqObEEgU%3D&reserved=0<https://www.mongodb.com/docs/drivers/compatibility/?all-languages=java&java-driver-framework=java-sync>
Regarding the note in that table:
⊛ *The driver version will work with the MongoDB version, but not all new
MongoDB features are supported.*
Since Oak doesn’t use any of the new features introduced in MongoDB, this
is why the old driver remained compatible.
From Mongo 8.1 onward however, the 3.12 driver will no longer be compatible.
Best regards,
José Cordero
El vie, 17 oct 2025 a las 14:52, Raffaele Gambelli
(<Ra...@cegeka.com.invalid>) escribió:
> First of all, thank you for completing the mongodb driver upgrade. Now I
> would like to ask if there are plans to support the latest versions of
> mongodb.
> Which version of oak do you usually use? I am currently using the latest
> version of mongodb-community-server 5, 5.0.31, but mongodb is now at
> version 8.
> Best regards
>
> Cordiali saluti / Best regards,
>
> *Raffaele Gambelli*
> *Application Architect*
> *E* *Raffaele.Gambelli@cegeka.com <Ra...@cegeka.com>*
> *M* +39 3371641888
>
> [image: CEGEKA]
> Via Ettore Cristoni, 84
> IT-40033 Bologna (IT), Italy
> *T* +39 02 2544271
> *https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cegeka.com%2F&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691485831%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=lB08%2B1lq0OPJamN00QNUyyHJ97g0WgV3FZzwOqumm%2FQ%3D&reserved=0 <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cegeka.com%2F&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691497040%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=JCCBcSaCGoALjv1WVba%2B14zBbKIgrapf5aMwQ7gMnXU%3D&reserved=0<https://www.cegeka.com/>> *
>
>
>
>
>
> *Dichiarazione di Riservatezza
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FuHO&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691508254%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nemzT20CBWmLyEFCEh8UQJRAvw3%2F4%2FGdzcZUUP%2FELIg%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>>*
>
> Le informazioni contenute nella mail sono riservate. Se si rende conto di
> non essere il destinatario corretto della mail, la preghiamo di segnalare
> l'errore al mittente e di cancellare immediatamente il messaggio.
> L’utilizzo improprio di informazioni riservate può comportare sanzioni.
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FuHO&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691519819%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=5IxUTrLWzWbgsfkWPzIV7yMvJc9vR9p%2Bt6dQinBhugc%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>>
>
> Protezione dei dati personali
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FuHO&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691530934%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sV8Lz7XwInl4NLXHjMpIPPJsL48TYp8arZtF47WIXlM%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>>
>
> La informiamo che i suoi dati saranno trattati da Cegeka nel rispetto
> delle disposizioni di legge applicabili (D. Lgs 196/2003 e Regolamento UE
> 679/2016). Per maggiori dettagli può consultare le nostre informative
> privacy al link
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FuHO&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691541856%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nzO2VBqCUOhd17FbjNlWUdQ%2Bs86TBLarmV4kiPXtyNw%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>>
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cegeka.com%2Fit%2Finformazioni-sulla-privacy&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691552745%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=BmwezgmpS8grThRQMFuTwU1%2BK4YtIiKL3DHPetCl5vI%3D&reserved=0<https://www.cegeka.com/it/informazioni-sulla-privacy>
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FNsT&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691564116%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Q7Zcb8CsD6VpbOGNhBZ4958wvmy7uYXWERCzS1nQBTY%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/NsT>>
> .
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcampaigns.signature365.com%2Feu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj%2Fgen_lhPoEZ6rKy83UVA8%2Fgo%2FuHO&data=05%7C02%7CRaffaele.Gambelli%40cegeka.com%7C44e8cec9d16c4520e79208de0ea1e730%7C42151053019347aa9e81effd81f772cc%7C0%7C0%7C638964285691579850%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jroLQOi3xQN7EfaUyEh%2FfyVoXRXyG0vG9B%2BYmNKIkKE%3D&reserved=0<https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>>
>
>
> [image: Signature 365 Pixel]
>
Re: Mongodb upgrade from 5.x to latest
Posted by Jose Cordero <jo...@apache.org>.
Hi Raffaele,
Thank you as well for your contributions to upgrading the Mongo driver!
The documentation seems to be a bit outdated, and I’ll try to update it as
soon as possible:
https://jackrabbit.apache.org/oak/docs/nodestore/document/mongo-document-store.html
I’ve been using Mongo 8 for a while now, always with the latest Oak
version, and everything has worked fine. Even the previous Java Driver
(3.12) was still compatible with Mongo 8.0, following Mongo’s compatibility
matrix as a reference:
https://www.mongodb.com/docs/drivers/compatibility/?all-languages=java&java-driver-framework=java-sync
Regarding the note in that table:
⊛ *The driver version will work with the MongoDB version, but not all new
MongoDB features are supported.*
Since Oak doesn’t use any of the new features introduced in MongoDB, this
is why the old driver remained compatible.
From Mongo 8.1 onward however, the 3.12 driver will no longer be compatible.
Best regards,
José Cordero
El vie, 17 oct 2025 a las 14:52, Raffaele Gambelli
(<Ra...@cegeka.com.invalid>) escribió:
> First of all, thank you for completing the mongodb driver upgrade. Now I
> would like to ask if there are plans to support the latest versions of
> mongodb.
> Which version of oak do you usually use? I am currently using the latest
> version of mongodb-community-server 5, 5.0.31, but mongodb is now at
> version 8.
> Best regards
>
> Cordiali saluti / Best regards,
>
> *Raffaele Gambelli*
> *Application Architect*
> *E* *Raffaele.Gambelli@cegeka.com <Ra...@cegeka.com>*
> *M* +39 3371641888
>
> [image: CEGEKA]
> Via Ettore Cristoni, 84
> IT-40033 Bologna (IT), Italy
> *T* +39 02 2544271
> *WWW.CEGEKA.COM <https://www.cegeka.com> *
>
>
>
>
>
> *Dichiarazione di Riservatezza
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>*
>
> Le informazioni contenute nella mail sono riservate. Se si rende conto di
> non essere il destinatario corretto della mail, la preghiamo di segnalare
> l'errore al mittente e di cancellare immediatamente il messaggio.
> L’utilizzo improprio di informazioni riservate può comportare sanzioni.
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
>
> Protezione dei dati personali
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
>
> La informiamo che i suoi dati saranno trattati da Cegeka nel rispetto
> delle disposizioni di legge applicabili (D. Lgs 196/2003 e Regolamento UE
> 679/2016). Per maggiori dettagli può consultare le nostre informative
> privacy al link
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
> https://www.cegeka.com/it/informazioni-sulla-privacy
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/NsT>
> .
> <https://campaigns.signature365.com/eu-B2uKnHEFS98nwDUb-xnoLLs9dLzfDepbj/gen_lhPoEZ6rKy83UVA8/go/uHO>
>
>
> [image: Signature 365 Pixel]
>