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
|
||||
pring.datasource.password=yumyumyum
|
||||
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||
#org.sqlite.JDBC
|
||||
#Obs, no longer required:
|
||||
#spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
|
||||
|
||||
#Runtime lies and says no longer required, but it defaults to MySQL5.5.0!:
|
||||
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
|
||||
#org.sqlite.hibernate.dialect.SQLiteDialect
|
||||
#spring.jpa.show-sql: true
|
||||
|
||||
|
|
|
@ -13,14 +13,13 @@ spring:
|
|||
#url: jdbc:sqlite:${home}/recipes.db
|
||||
url: jdbc:mysql:dbase/recipes
|
||||
# options: ${env} values
|
||||
driverClassName: org.mysql.jdbc.Driver
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
username: recipes
|
||||
password: yumyumyum
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none
|
||||
#database-platform: org.sqlite.hibernate.dialect.SQLiteDialect
|
||||
###database-platform: org.hibernate.dialect.MySQLDialect
|
||||
database-platform: org.hibernate.dialect.MySQLDialect
|
||||
|
||||
server:
|
||||
servlet:
|
||||
|
|
Loading…
Reference in New Issue
Block a user