@@ -74,27 +74,27 @@ berkeley_cRater_password=
7474# Modify below as needed.
7575# The default settings below is for mysql running on port 3306.
7676# with username "wiseuser", password "wisepass" and schema name "wise_database"
77+ spring.jpa.properties.hibernate.bytecode.use_reflection_optimizer =true
7778
78- spring.datasource.url =jdbc:mysql://wise-mysql:3306/wise_database?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&useSSL= false
79- spring.datasource.driver-class-name =com.mysql.cj.jdbc .Driver
80- spring.datasource.username =wiseuser
81- spring.datasource.password =wisepass
79+ spring.datasource.url =jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER= false;mode=mysql
80+ spring.datasource.driver-class-name =org.h2 .Driver
81+ spring.datasource.username =sa
82+ spring.datasource.password =
8283
83- spring.jpa.properties.hibernate.storage_engine =innodb
84- spring.jpa.hibernate.ddl-auto =none
85- spring.jpa.properties.hibernate.bytecode.use_reflection_optimizer =true
86- spring.jpa.hibernate.use-new-id-generator-mappings =false
84+ spring.h2.console.enabled =true
85+ spring.h2.console.path =/h2-console
86+
87+ spring.jpa.show-sql =false
88+ spring.jpa.hibernate.ddl-auto =create-drop
8789
8890spring.session.store-type =redis
89- spring.redis.host =wise-redis
91+ spring.redis.host =localhost
9092# spring.redis.password= # Login password of the redis server.
9193spring.redis.port =6379
9294spring.redis.pool.max.total =128
9395# spring.session.redis.flush-mode=on-save # Sessions flush mode.
9496# spring.session.redis.namespace=spring:session # Namespace for keys used to store sessions.
9597
96- spring.flyway.baseline-on-migrate =true
97-
9898# ######## sendmail properties ##########
9999
100100# This section defines the settings that the portal will use to send mail.
0 commit comments