Using de.flapdoodle.embed.mongo not only for unittests ? #490
fabiengiquel
started this conversation in
General
Replies: 1 comment 6 replies
-
@fabiengiquel you can just do that.. it uses the real database.. but you must change the directory where the database files are stored away from temp:) .. but maybe using docker is just easier for that .. (tuning mongodb settings etc.. ) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
in our software, we need to develop some datas persistence in Java (very small complexity and small volume). The data structure is compatible with document oriented principles. We do not want to manage a separate data server for such a small complexity/volume. So i am looking for embedded document database solutions (and if possible integrated with Spring Boot/Data).
The "de.flapdoodle.embed.mongo" is presented as "platform neutral way for running mongodb in unittests". Beyond unit tests, does it make sense to use "de.flapdoodle.embed.mongo" as a real deployed database, embedded within our java/spring code ?
Thanks in advance for your ideas.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions