Update config to more or less indicate SQL8Dialect (it lies)

This commit is contained in:
tim holloway 2024-02-02 17:43:11 -05:00
parent a7702e27f3
commit fe9598194b
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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: