# If you don't have a datasource URL, use the built-in datasource derby.
# https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html
spring.datasource.platform=derby
spring.datasource.url=jdbc:derby://localhost:1527/wasupDB
#spring.datasource.url=jdbc:mysql://localhost:3306/wasup?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
#spring.datasource.url=jdbc:mysql://localhost:3306/wasupDB?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
# (Restore from a backup copy) https://db.apache.org/derby/docs/10.8/adminguide/cadminhubbkup98797.html
#spring.datasource.url=jdbc:derby://localhost:1527/wasupDB;restoreFrom=/opt/WASup/backup/wasup
spring.datasource.username=wasup
spring.datasource.password=wasup
 
# DDL mode. This is actually a shortcut for the "hibernate.hbm2ddl.auto" property.
# Defaults to "create-drop" when using an embedded database and no schema manager was detected.
# Otherwise, defaults to "none".
spring.jpa.hibernate.ddl-auto=none
 
# Hibernate additional native properties to set on the JPA provider.
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.DerbyTenSevenDialect
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
 
wasup.db.download.path=/tmp/
