spring-batch
spring-batch copied to clipboard
Spring Batch is a framework for writing batch applications using Java and Spring
**Bug description** A problem occurs when defining and using meta tables in a specific schema of PostgreSQL. I used SQL for metatables included in spring batch core. (ex. org/springframework/batch/core/schema-postgresql.sql) **Environment**...
**Bug description** When using MongoItemReader with `setQuery(Query)`, `setSort(Map)`, `Sort` doesn't works. If you wanna use `setSort()` method, you should use `setQuery(String)` method. (If you use `MongoItemReaderBuilder`, it might be `jsonQuery()`)...
**[Dave Syer](https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer)** opened **[BATCH-1944](https://jira.spring.io/browse/BATCH-1944?redirect=false)** and commented --- **Affects:** 2.2.0
**[Iwein Fuld](https://jira.spring.io/secure/ViewProfile.jspa?name=iwein)** opened **[BATCH-1337](https://jira.spring.io/browse/BATCH-1337?redirect=false)** and commented ``` public void afterPropertiesSet() throws Exception { Assert.notNull(lineMapper, "LineMapper is required"); } ``` Should use Assert.state instead imo. --- **Affects:** 2.0.1
This test fails intermittently with the following error: ``` java.lang.AssertionError: Foo not on queue at org.springframework.batch.repeat.jms.AsynchronousTests.testRollback(AsynchronousTests.java:176) ``` Build log: https://build.spring.io/browse/BATCH-NIGHTLY-5541
Consistently use Assert.state in the afterPropertiesSet() methods to throw IllegalStateException instead of IllegalArgumentException when some properties are missing and/or invalid. Issue #2244
**[Serban Iordache](https://jira.spring.io/secure/ViewProfile.jspa?name=siordache)** opened **[BATCH-2729](https://jira.spring.io/browse/BATCH-2729?redirect=false)** and commented To avoid module hell when using spring-batch in modular applications, a stable [automatic module name](http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html) should be provided for all components. --- **Affects:** 4.1.0
Compared to the XML configuration style where infrastructure beans (`JobRepository`, `JobLauncher`, etc) should be defined manually, `@EnableBatchProcessing` does a good job in configuring those beans automatically and making them available...
# The problem I can't wrap the `JobRepository` used by `JobBuilderFactory` or `StepBuilderFactory`, the default one is being used. Same type of a problem as presented here https://github.com/spring-projects/spring-batch/issues/816 . related...
**[Gary P Russo](https://jira.spring.io/secure/ViewProfile.jspa?name=garyrusso)** opened **[BATCH-2734](https://jira.spring.io/browse/BATCH-2734?redirect=false)** and commented To avoid any dependency or conflicts with the client time zone, it is considered a best practice to use Postgres TIMESTAMPZ instead of...