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 to be entered, but I get nothing back in the app - no exception or error.
How can I set this to occur?
Thanks for your help....
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 to be entered, but I get nothing back in the app - no exception or error.
How can I set this to occur?
Thanks for your help....