Skip to content

Add support for the bulk operations introduced in MongoDB 2.6. [DATAMONGO-934] #1850

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

Closed
spring-projects-issues opened this issue May 14, 2014 · 2 comments
Assignees
Labels
has: votes-jira in: core Issues in core support type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

Abhishek Choudhary opened DATAMONGO-934 and commented

Latest version of spring data mongodb have no support for the bulk operations introduced in MongoDB 2.6 and mongodb recommends using the new write protocols and new bulk api for bulk opertations


Affects: 1.4.2 (Codd SR2)

Reference URL: http://stackoverflow.com/questions/23403992/does-spring-data-uses-the-new-mongodb-bulk-api-for-bulk-operations?noredirect=1#comment35859373_23403992

Issue Links:

  • DATAMONGO-1190 Please consider adding BulkWriteOperations, in particular unorderedBulkInsert
    ("is duplicated by")

Referenced from: pull request #327, and commits 7862841, fe6cbaa

10 votes, 10 watchers

@spring-projects-issues
Copy link
Author

Tobias Trelle commented

I had to implement bulk operations in my current project and could try to submit this to Spring Data MongoDB

@spring-projects-issues
Copy link
Author

Oliver Drotbohm commented

That's in place. I moved Tuple to Spring Data Commons (DATACMNS-790), slightly changed the way WriteConcern instances are used by BulkOperations (by rather using the one used for MongoTemplate and consulting the WriteConcernResolver for advanced modifications) and delegate the exception translation to the PersistenceExceptionTranslator registered so that potential customizations can tweak the translation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has: votes-jira in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants