BATCH-1601: remove static keyword
This commit is contained in:
@@ -64,7 +64,7 @@ public class DataSourceInitializer implements InitializingBean, DisposableBean {
|
||||
|
||||
private boolean ignoreFailedDrop = true;
|
||||
|
||||
private static boolean initialized = false;
|
||||
private boolean initialized = false;
|
||||
|
||||
/**
|
||||
* Main method as convenient entry point.
|
||||
|
||||
@@ -11,6 +11,7 @@ batch.schema=
|
||||
batch.jndi.name=
|
||||
batch.naming.factory.initial=
|
||||
batch.naming.provider.url=
|
||||
batch.drop.script=org/springframework/batch/core/schema-drop-hsqldb.sql
|
||||
batch.schema.script=org/springframework/batch/core/schema-hsqldb.sql
|
||||
batch.business.schema.script=business-schema-hsqldb.sql
|
||||
batch.database.incrementer.class=org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
<property name="initScripts">
|
||||
<list>
|
||||
<value>${batch.drop.script}</value>
|
||||
<value>${batch.schema.script}</value>
|
||||
<value>${batch.business.schema.script}
|
||||
</value>
|
||||
|
||||
Reference in New Issue
Block a user