Add Spring Session JDBC database initializer
See gh-5879
This commit is contained in:
committed by
Stephane Nicoll
parent
2b970f9efc
commit
a251ea8bc7
@@ -367,6 +367,8 @@ content into your application; rather pick only the properties that you need.
|
||||
|
||||
# SPRING SESSION ({sc-spring-boot-autoconfigure}/session/SessionProperties.{sc-ext}[SessionProperties])
|
||||
spring.session.hazelcast.map-name=spring:session:sessions # Name of the map used to store sessions.
|
||||
spring.session.jdbc.initializer.enabled=true # Create the required session tables on startup if necessary.
|
||||
spring.session.jdbc.schema=classpath:org/springframework/session/jdbc/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
|
||||
spring.session.jdbc.table-name=SPRING_SESSION # Name of database table used to store sessions.
|
||||
spring.session.mongo.collection-name=sessions # Collection name used to store sessions.
|
||||
spring.session.redis.flush-mode= # Flush mode for the Redis sessions.
|
||||
|
||||
Reference in New Issue
Block a user