Open Dimibe opened 1 year ago
I didn't try to use Migrations in a Spring Boot native scenario, tbh. We have dedicated support for Quarkus in native mode and from your report it seems that is necessary for Spring Boot as well.
Thanks for the information, appreciate the quick reply.
I'm happy to invest sometime into this the upcoming week, but don't expect a quick solution.
Personally, I recommend having a look at the native neo4j-migration
binary, especially if you are only dealing with
While it does not support Java based migrations, you will gain independence of the running application and also do this independent of how many instances of the app you are planning to run. Also, the Java based non-native package would support Java based migrations, if you want that.
So, a valid scenario could be
Thanks again for your detailed answer. Your recommendation seems to fit my use case very well. I have changed my project setup as you recommended and everything works great 👍
Great to hear, Dimitrios and thanks for your feedback!
I'd like to keep this open here nevertheless, I know it will bug me :)
Hello,
does the
neo4j-migrations-spring-boot-starter
work with graalvm native compilation?If I add
neo4j-migrations-spring-boot-starter:2.6.0
(also tested with version 2.5.3) to my dependencies without any further configuration the native compilation fails with the following error:According to the contribution guidelines native compilation is supported. Do I have to make additional configurations or is native compilation not support for the spring-boot-starter?
I didn't found any other documentation other than the one in the contribution guidelines.
Thanks in advance.