Can someone tell me how do I configure spring data mongoDB in such a way that it does not create a new collection(if it does not exist) but throws an exception while inserting a document?
Asked
Active
Viewed 699 times
1 Answers
0
Not easy way - other answer
says: turn on access control and then create a role with the appropriate restrictions. Read docs using links there.

Arthur
- 1,156
- 3
- 20
- 49