Hi,
I have my application storing documents in a collection called
files, and it's being done by Spring-Data MongoRepository.
The ID for the repository is a UUID. Looking at the collection in Mongo Shell, it looks like this
{ "_id" : BinData(3,"5BG1VMBz6X4bxdWlAgDtqg=="), "_class" : "com.myfiles.file", "authorizationUrl" : "
http://localhost:3000/validate_access_token" }
I have the string representation of this UUID again, in a different module of my project that uses Vertx. I am required to query this collection and get the corresponding document.
It seems that JsonObject doesn't let me use UUID directly. Can someone throw some light at this with some possible workarounds?
Thanks!