diff --git a/README.ftl.md b/README.ftl.md index d372719c9b..48ffddb7a6 100644 --- a/README.ftl.md +++ b/README.ftl.md @@ -41,7 +41,9 @@ This spreadsheet contains a first name and a last name on each row, separated by Next, you write a SQL script to create a table to store the data. - <@snippet path="src/main/resources/schema.sql" prefix="initial"/> + <@snippet path="src/main/resources/schema-all.sql" prefix="initial"/> + +> **Note:** Spring Zero runs `schema-@@platform@@` automatically during startup. `-all` is the default for all platforms. Create a business class diff --git a/README.md b/README.md index 2a11c59b54..2d626df2d5 100644 --- a/README.md +++ b/README.md @@ -63,15 +63,15 @@ In a project directory of your choosing, create the following subdirectory struc 0.1.0 - org.springframework.bootstrap - spring-bootstrap-starters + org.springframework.zero + spring-starter-parent 0.5.0.BUILD-SNAPSHOT - org.springframework.bootstrap - spring-bootstrap-batch-starter + org.springframework.zero + spring-starter-batch org.hsqldb @@ -124,7 +124,7 @@ This spreadsheet contains a first name and a last name on each row, separated by Next, you write a SQL script to create a table to store the data. -`src/main/resources/schema.sql` +`src/main/resources/schema-all.sql` ```sql DROP TABLE people IF EXISTS; @@ -135,6 +135,8 @@ CREATE TABLE people ( ); ``` +> **Note:** Spring Zero runs `schema-@@platform@@` automatically during startup. `-all` is the default for all platforms. + Create a business class ----------------------- @@ -228,6 +230,7 @@ import java.util.List; import javax.sql.DataSource; +import org.springframework.autoconfigure.EnableAutoConfiguration; import org.springframework.batch.core.Job; import org.springframework.batch.core.Step; import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; @@ -244,7 +247,6 @@ import org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper; import org.springframework.batch.item.file.mapping.DefaultLineMapper; import org.springframework.batch.item.file.transform.DelimitedLineTokenizer; import org.springframework.bootstrap.SpringApplication; -import org.springframework.bootstrap.context.annotation.EnableAutoConfiguration; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration;