Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] MongoDB Java driver upgrade #1989

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented Nov 4, 2023

MongoDB driver update from non-maintained org.mongodb:mongo-java-driver to org.mongodb:mongodb-driver-sync.
There are changes in API which are reflected in the EL MongoDB platform related classes (JCA connector).
There is one incompatible change in native queries as old driver supported queries like:
db.ORDER.findOne({"_id":"654364FB87F4B027C9D7EEAF"})
but new one supports
{find: 'ORDER', filter:{'_id':'654364FB87F4B027C9D7EEAF'}}
Testing environment requires (org.eclipse.persistence:eclipselink-testbuild-plugin) new features from eclipse-ee4j/eclipselink-build-support#4. To pass MongoDB tests updated plugin have to be released first.
Fixes #1984

@rfelcman rfelcman marked this pull request as draft November 4, 2023 21:26
@rfelcman rfelcman marked this pull request as ready for review November 7, 2023 20:14
@rfelcman rfelcman requested a review from lukasj November 7, 2023 20:25
@rfelcman rfelcman merged commit 7f3ea19 into eclipse-ee4j:master Dec 22, 2023
6 checks passed
@rfelcman rfelcman deleted the mongodb_upgrade branch December 22, 2023 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Class not found with mongodb-driver-sync (4.11.0)
2 participants