At the risk of talking to myself, I found the answer to my own question. It's amazing what happens when one reads the instructions :)
I added this statement when creating my mongotemplate and I am...
Type: Posts; User: riddler23; Keyword(s):
At the risk of talking to myself, I found the answer to my own question. It's amazing what happens when one reads the instructions :)
I added this statement when creating my mongotemplate and I am...
a little more clarification....if a user enter a name that is already in mongo I want to be notified some how so I can display the message to the user in the UI
Hi
I am new to using Spring Data with mongo. I configured mongo to have unique contraint on a collection so that the name element is unique.
The code works as expected, not allowing duplicates...