batch.initialize
Örnek
Şöyle yaparız.
Açıklaması şöyle.
Şöyle yaparız.
Örnek
Şöyle yaparız.
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=root
spring.batch.initialize-schema=always
batch.job.enabledAçıklaması şöyle.
By default, Spring Batch executes all jobs it can find (i.e., that are configured as in CustomerReportJobConfig) at startup. To change this behavior, disable job execution at startup by adding the following property to application.properties:Örnek
Şöyle yaparız.
spring.batch.job.enabled=false
Hiç yorum yok:
Yorum Gönder