类 BatchDataSourceInitializer
- java.lang.Object
- org.springframework.boot.jdbc.AbstractDataSourceInitializer
- org.springframework.boot.autoconfigure.batch.BatchDataSourceInitializer
public class BatchDataSourceInitializer extends org.springframework.boot.jdbc.AbstractDataSourceInitializer
Initialize the Spring Batch schema (ignoring errors, so should be idempotent).
构造器概要
构造器 构造器 说明 BatchDataSourceInitializer(DataSource dataSource, org.springframework.core.io.ResourceLoader resourceLoader, BatchProperties properties)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected StringgetDatabaseName()protected org.springframework.boot.jdbc.DataSourceInitializationModegetMode()protected StringgetSchemaLocation()
构造器详细资料
BatchDataSourceInitializer
public BatchDataSourceInitializer(DataSource dataSource, org.springframework.core.io.ResourceLoader resourceLoader, BatchProperties properties)
方法详细资料
getMode
protected org.springframework.boot.jdbc.DataSourceInitializationMode getMode()
- 指定者:
getMode在类中org.springframework.boot.jdbc.AbstractDataSourceInitializer
getSchemaLocation
protected String getSchemaLocation()
- 指定者:
getSchemaLocation在类中org.springframework.boot.jdbc.AbstractDataSourceInitializer
getDatabaseName
protected String getDatabaseName()
- 覆盖:
getDatabaseName在类中org.springframework.boot.jdbc.AbstractDataSourceInitializer