Class JdbcSessionDataSourceScriptDatabaseInitializer

All Implemented Interfaces:
Aware, InitializingBean, ResourceLoaderAware

public class JdbcSessionDataSourceScriptDatabaseInitializer extends DataSourceScriptDatabaseInitializer
DataSourceScriptDatabaseInitializer for the Spring Session JDBC database. May be registered as a bean to override auto-configuration.
Since:
2.6.0
Author:
Dave Syer, Vedran Pavic, Andy Wilkinson, Phillip Webb
  • Constructor Details

    • JdbcSessionDataSourceScriptDatabaseInitializer

      public JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource, JdbcSessionProperties properties)
      Parameters:
      dataSource - the Spring Session JDBC data source
      properties - the Spring Session JDBC properties
      See Also:
      • getSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.session.JdbcSessionProperties)
    • JdbcSessionDataSourceScriptDatabaseInitializer

      public JdbcSessionDataSourceScriptDatabaseInitializer(DataSource dataSource, DatabaseInitializationSettings settings)
      Parameters:
      dataSource - the Spring Session JDBC data source
      settings - the database initialization settings
      See Also:
      • getSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.session.JdbcSessionProperties)