public class JdbcSessionDataSourceScriptDatabaseInitializer extends DataSourceScriptDatabaseInitializer
DataSourceScriptDatabaseInitializer
for the Spring Session JDBC database. May
be registered as a bean to override auto-configuration.Constructor and Description |
---|
JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource,
DatabaseInitializationSettings settings)
Create a new
JdbcSessionDataSourceScriptDatabaseInitializer instance. |
JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource,
JdbcSessionProperties properties)
Create a new
JdbcSessionDataSourceScriptDatabaseInitializer instance. |
getDataSource, isEmbeddedDatabase, runScripts
afterPropertiesSet, initializeDatabase, setResourceLoader
public JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource, JdbcSessionProperties properties)
JdbcSessionDataSourceScriptDatabaseInitializer
instance.dataSource
- the Spring Session JDBC data sourceproperties
- the Spring Session JDBC propertiesgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.session.JdbcSessionProperties)
public JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource, DatabaseInitializationSettings settings)
JdbcSessionDataSourceScriptDatabaseInitializer
instance.dataSource
- the Spring Session JDBC data sourcesettings
- the database initialization settingsgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.session.JdbcSessionProperties)