-
I have an application spring boot and spring data, i tried to use mongock and i configure it like below
but when i run the application i have this error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @akanzari , That MongoDB error(not related to Mongock) is because MongoDB transactions are only allowed with replica-sets. In this sample project we show how to do it and in the requirement section yo can see how to locally setup a MongoDB replica set environment with docker compose. I hope this helps 😃 |
Beta Was this translation helpful? Give feedback.
Hello @akanzari ,
That MongoDB error(not related to Mongock) is because MongoDB transactions are only allowed with replica-sets.
In this sample project we show how to do it and in the requirement section yo can see how to locally setup a MongoDB replica set environment with docker compose.
I hope this helps 😃