Class SqlInitializationProperties

java.lang.Object
org.springframework.boot.autoconfigure.sql.init.SqlInitializationProperties

@ConfigurationProperties("spring.sql.init") public class SqlInitializationProperties extends Object
Configuration properties for initializing an SQL database.
Since:
2.5.0
Author:
Andy Wilkinson
  • Constructor Details

    • SqlInitializationProperties

      public SqlInitializationProperties()
  • Method Details

    • getSchemaLocations

      public List<String> getSchemaLocations()
    • setSchemaLocations

      public void setSchemaLocations(List<String> schemaLocations)
    • getDataLocations

      public List<String> getDataLocations()
    • setDataLocations

      public void setDataLocations(List<String> dataLocations)
    • getPlatform

      public String getPlatform()
    • setPlatform

      public void setPlatform(String platform)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • isContinueOnError

      public boolean isContinueOnError()
    • setContinueOnError

      public void setContinueOnError(boolean continueOnError)
    • getSeparator

      public String getSeparator()
    • setSeparator

      public void setSeparator(String separator)
    • getEncoding

      public Charset getEncoding()
    • setEncoding

      public void setEncoding(Charset encoding)
    • getMode

      public DatabaseInitializationMode getMode()
    • setMode

      public void setMode(DatabaseInitializationMode mode)