We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46af738 commit c3dde7cCopy full SHA for c3dde7c
bootstrap/src/main/resources/application.properties
@@ -0,0 +1,11 @@
1
+# Without this line, Quarkus would abort with the following error message:
2
+# "Model classes are defined for the default persistence unit but configured datasource not found:
3
+# the default EntityManagerFactory will not be created."
4
+%prod.quarkus.datasource.jdbc.url=dummy
5
+%prod.persistence=inmemory
6
+
7
+%mysql.quarkus.datasource.jdbc.url=jdbc:mysql://localhost:3306/shop
8
+%mysql.quarkus.datasource.username=root
9
+%mysql.quarkus.datasource.password=test
10
+%mysql.quarkus.hibernate-orm.database.generation=update
11
+%mysql.persistence=mysql
0 commit comments