java.lang.Object | |
↳ | org.springframework.jdbc.datasource.init.DataSourceInitializer |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Use the populator to set up data in the data source.
| |||||||||||
The
DataSource to populate when this component is initialized. | |||||||||||
The
DatabasePopulator to use to populate the data source. | |||||||||||
Flag to explicitly enable or disable the database populator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Use the populator to set up data in the data source.
Exception |
---|
The DataSource
to populate when this component is initialized.
Mandatory with no default.
dataSource | the DataSource |
---|
The DatabasePopulator
to use to populate the data source.
Mandatory with no default.
databasePopulator | the database populator to use. |
---|
Flag to explicitly enable or disable the database populator.
enabled | true if the database populator will be called on startup |
---|