File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
bootstrap/src/main/resources Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
- # No properties required for this demo application
2
- # You would put database connection parameters here, for example.
3
- # But in dev mode, Quarkus creates those auto-magically.
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
You can’t perform that action at this time.
0 commit comments