diff --git a/src/main/resources/META-INF/native-image/native-image.properties b/src/main/resources/META-INF/native-image/native-image.properties new file mode 100644 index 000000000..a974103ba --- /dev/null +++ b/src/main/resources/META-INF/native-image/native-image.properties @@ -0,0 +1 @@ +Args = -H:+AddAllCharsets \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5d3eeed32..616065102 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,6 @@ # database init, supports mysql too database=h2 +spring.profiles.active=mysql spring.sql.init.schema-locations=classpath*:db/${database}/schema.sql spring.sql.init.data-locations=classpath*:db/${database}/data.sql