Tag: mongodb

How to assign custom document IDs in Spring Data MongoDB

March 9, 2019 · 4 min read
When using Spring Data MongoDB IDs can be automatically generated for documents provided that you’re using an ObjectId, String or BigInteger as the underlying type.