Update config to more or less indicate SQL8Dialect (it lies)
This commit is contained in:
parent
a7702e27f3
commit
fe9598194b
|
@ -13,9 +13,9 @@ spring.datasource.url=jdbc:mysql://dbase/recipes
|
||||||
spring.datasource.username=recipes
|
spring.datasource.username=recipes
|
||||||
pring.datasource.password=yumyumyum
|
pring.datasource.password=yumyumyum
|
||||||
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
#org.sqlite.JDBC
|
|
||||||
#Obs, no longer required:
|
#Runtime lies and says no longer required, but it defaults to MySQL5.5.0!:
|
||||||
#spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
|
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
|
||||||
#org.sqlite.hibernate.dialect.SQLiteDialect
|
#org.sqlite.hibernate.dialect.SQLiteDialect
|
||||||
#spring.jpa.show-sql: true
|
#spring.jpa.show-sql: true
|
||||||
|
|
||||||
|
|
|
@ -13,14 +13,13 @@ spring:
|
||||||
#url: jdbc:sqlite:${home}/recipes.db
|
#url: jdbc:sqlite:${home}/recipes.db
|
||||||
url: jdbc:mysql:dbase/recipes
|
url: jdbc:mysql:dbase/recipes
|
||||||
# options: ${env} values
|
# options: ${env} values
|
||||||
driverClassName: org.mysql.jdbc.Driver
|
driverClassName: com.mysql.cj.jdbc.Driver
|
||||||
username: recipes
|
username: recipes
|
||||||
password: yumyumyum
|
password: yumyumyum
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: none
|
ddl-auto: none
|
||||||
#database-platform: org.sqlite.hibernate.dialect.SQLiteDialect
|
database-platform: org.hibernate.dialect.MySQLDialect
|
||||||
###database-platform: org.hibernate.dialect.MySQLDialect
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
servlet:
|
servlet:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user