With Spring Data, is it needed to create Collections manually? #531
-
Hello, I want to use Mongock with Spring Data. Currently, by using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @MitchelNijdam-Rockstars , you are right, there is no reason to create the collection manually, it's more about to show "beforeExecution" feature, that allows you to make "schema" changes without transaction scope. But as said, in this case Spring Data will create the collections automatically for you. |
Beta Was this translation helpful? Give feedback.
Hello @MitchelNijdam-Rockstars , you are right, there is no reason to create the collection manually, it's more about to show "beforeExecution" feature, that allows you to make "schema" changes without transaction scope. But as said, in this case Spring Data will create the collections automatically for you.