We can generate ObjectId from client and use it while insert. I done want it to be handled outside of insertion process. I need it to be configured as my default _id generation process so that when ever I call insert, insert method should create the custom objectId and use it. Is it possible with mongodb's Java driver?
I need to somehow override the default _id generation process. I don't like to explicitly define _id in the inserting document.