Mahmoud Ben Hassine
1199740407
Add java.util.UUID to trusted classes in Jackson serializer
...
This class is safe to deserialize according to Jackson:
https://github.com/FasterXML/jackson-databind/blob/master/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java
This also has been checked against Jackson 2.11 to confirm
the backport of this enhancement to 4.3.x.
Resolves #4110
2022-05-17 11:34:00 +02:00
Mahmoud Ben Hassine
6c09e95987
Update Spring dependencies to latest snapshots
2022-05-17 06:26:58 +02:00
Mahmoud Ben Hassine
8686671615
Fix documentation WRT restarting an abruptly stopped job
...
Resolves #4037
2022-05-05 18:07:38 +02:00
Mahmoud Ben Hassine
6752c97c0e
Fix NPE in MongoItemReader when sorting is not specified through the builder
...
Resolves #4082
2022-05-05 16:00:44 +02:00
Mahmoud Ben Hassine
11b62f4534
Fix datasource initialization in MySQLJdbcJobRepositoryTests
2022-04-29 08:35:14 +02:00
linhongcheng
fdd253a7e6
Fix retrieval of null job parameters of type long/double
...
Before this commit, a null job parameter of type long
or double was retrieved as 0L or 0.0. This caused
JobOperator.restart to create a new job instance
instead of restarting the previous failed execution.
This commit fixes how null job parameters of type
long or double are retrieved from the database to
correctly restart the same job instance.
Issue #4087
2022-04-28 18:04:06 +02:00
Starchenko Ilya
2bdf4283e0
Fix Javadoc of SpringBatchTest annotation
...
fix double @-symbol in javadoc
Issue #4102
2022-04-27 15:29:53 +02:00
Mahmoud Ben Hassine
758372b025
Make BATCH_JOB_EXECUTION#JOB_CONFIGURATION_LOCATION nullable by default for DB2
...
This commit adds DEFAULT to BATCH_JOB_EXECUTION#JOB_CONFIGURATION_LOCATION
for DB2. This fixes a SqlSyntaxErrorException with DB2 v9.
Credits to @omheni for the fix, see #4002 .
Resolves #4001
2022-04-14 16:35:59 +02:00
Mahmoud Ben Hassine
5288e915ed
Update Spring dependencies to latest snapshots
2022-04-04 14:41:08 +02:00
Xavi Lee
731c270b45
Update copyright date
2022-04-01 16:24:17 +02:00
Mahmoud Ben Hassine
b2b5b48e77
Fix XStreamUnmarshallingTests
...
This commit adds an explicit type permission to unmarshall
the `Trade` class.
2022-03-16 17:55:33 +01:00
Rod Lecocq
300baf8df5
Fix doc for schema BATCH_JOB_INSTANCE.JOB_KEY
...
Fixes #4071
2022-03-08 12:09:33 +01:00
Spring Builds
4b42fecd50
[artifactory-release] Next development version
2022-02-23 13:55:55 +00:00
Spring Builds
d588027fe5
[artifactory-release] Release version 4.3.5
2022-02-23 13:55:51 +00:00
Mahmoud Ben Hassine
9deaa16945
Add example for in-memory job repository with an embedded database
...
Resolves #4016
2022-02-23 13:47:22 +01:00
Edgar Asatryan
6417065141
Check arguments of MongoItemReader#setSort
...
Issue #4014
2022-02-23 12:34:17 +01:00
Mahmoud Ben Hassine
d8b8bab95b
Update Xstream to version 1.4.19
2022-02-23 12:12:13 +01:00
Mahmoud Ben Hassine
a3967966c7
Update dependencies
2022-02-22 21:00:11 +01:00
me
721d0bb2df
change parameterValues check -> CollectionUtils.isEmpty
...
Resolves #4021
2022-02-22 14:30:05 +01:00
Rohit Sanjay
01a80f842e
Fix typos in documentation
2022-02-22 13:57:52 +01:00
Aaron
73bfaf3de4
Fix javadoc of FaultTolerantChunkProvider
...
FaultTolerantChunkProvider is an implementation
of ChunkProvider, not ChunkProcessor.
Issue #4029
2022-02-18 15:58:33 +01:00
Taeik Lim
b919921dbb
Add @Nullable to StepExecution::getEndTime
...
Issue #4034
2022-02-18 15:02:21 +01:00
Mahmoud Ben Hassine
d0d0c7d0b3
Upgrade Spring dependencies to latest snapshots
2022-02-16 16:18:01 +01:00
Henning Poettker
db2d622145
Adapt H2PagingQueryProvider for H2 v2.x
...
Issue #4047
2022-01-18 16:11:58 +01:00
Philippe Marschall
4dddb10aa8
Make countStepExecutions access batch_job_execution only once
...
Change JdbcStepExecutionDao.COUNT_STEP_EXECUTIONS to access the
table batch_job_execution only once.
Issue #3876
2022-01-13 15:56:55 +01:00
Philippe Marschall
f689901254
Simplify GET_LAST_STEP_EXECUTION
...
Simplify JdbcStepExecutionDao#GET_LAST_STEP_EXECUTION
to use an equi-join instead of an cartesian join and
a subselect.
Issue #3997
2022-01-13 14:00:07 +01:00
Mahmoud Ben Hassine
74df41db72
Document default types of beans registered by EnableBatchProcessing
...
Resolves #3993
2022-01-12 00:33:13 +01:00
Mahmoud Ben Hassine
cfbe884939
Adapt contribution #4043
...
This commit adapts the code contributed
in #4043 to be Java 8-compatible with the
v4 branch
2022-01-10 12:16:41 +01:00
Henning Poettker
dab89ccb97
Adjust h2 schema to work with v2.0.x
...
Issue #4043
2022-01-10 10:17:58 +01:00
Mahmoud Ben Hassine
6317124250
Update dependencies
2022-01-08 23:16:05 +01:00
Mahmoud Ben Hassine
c3f723ab12
Upgrade micrometer version to 1.7
...
Version 1.5.17 being the last OSS
release in the 1.5.x line, this commit
upgrades micrometer's version to 1.7.x
which should be backward compatible.
Since this upgrade is done in a patch
release, the version is updated to the
least supported version in order to
minimize the gap between minor versions.
While bumping minor versions in patch
releases is not typical, this is a
necessary upgrade to run a supported
version of micrometer.
2021-12-16 12:03:31 +01:00
Mahmoud Ben Hassine
3af939a919
Upgrade Log4j version to 2.16.0
2021-12-15 12:28:00 +01:00
Mahmoud Ben Hassine
39df16cdd0
Update Spring dependencies to latest snapshots
2021-12-15 12:05:57 +01:00
Spring Builds
0de4a17cf5
[artifactory-release] Next development version
2021-11-17 05:02:09 +00:00
Spring Builds
b39aa79926
[artifactory-release] Release version 4.3.4
2021-11-17 05:02:06 +00:00
Mahmoud Ben Hassine
12d70e434c
Prepare release 4.3.4
2021-11-17 05:05:33 +01:00
Mahmoud Ben Hassine
15b6b68b17
Update Spring dependencies to latest snapshots
2021-11-03 11:13:01 +01:00
Philippe Marschall
5feea448d5
Make JobParameters#getParameters() immutable
...
Make JobParameters#getParameters() immutable and avoid the defensive
copy.
Fixes #3980
2021-10-01 19:41:06 +02:00
Henning Pöttker
781faf1306
Fix multi-threaded empty read for JdbcPagingItemReader
...
On empty input, the JdbcPagingItemReader cannot derive
a start value for the sort key to be used in further
queries. For multi-threaded steps, it is thus necessary
to prevent the reader from trying to read further pages
if the first page is empty.
Issue #3898
2021-09-24 10:35:13 +02:00
Mahmoud Ben Hassine
86d03d041f
Implement equals/hashcode in BatchTestContextCustomizer
...
Resolves #3940
2021-09-13 21:50:20 +02:00
Rémi Kaeffer
d6178d3e0e
Fix double "the" typo everywhere in source code
2021-09-03 19:10:17 +02:00
Henning Pöttker
3fbf38a9c7
Fix HippyMethodInvoker by not considering unsuitable candidates
...
Resolves #3794
2021-09-03 14:56:21 +02:00
tinh cao
55b47458b3
Remove whitespace to support multiple execution statement
...
Issue #3861
2021-09-03 11:36:47 +02:00
Mahmoud Ben Hassine
8ce37d1a4d
Fix step execution retrieval in SimpleJobExplorer#getLastJobExecution
...
Before this commit, SimpleJobExplorer#getLastJobExecution returned
the last job execution without fetching its step executions and
their execution contexts.
This commit fixes the implementation to load the entire object
graph as done in SimpleJobExplorer#getJobExecution.
Resolves #3943 #3944
2021-08-27 14:05:57 +02:00
Sanghyuk Jung
2754018a98
Fix typos in document for configuring steps
2021-08-18 21:30:51 +02:00
Ilya Samartsev
c90aa63ca3
Fix NPE in sql exception translation
...
Resolves #3968
2021-08-18 20:23:45 +02:00
Mahmoud Ben Hassine
a318adb61b
Exclude spring-batch-docs from being published to Artifactory
...
Resolves #3922
2021-05-27 11:03:30 +02:00
Mahmoud Ben Hassine
9dce2cb78c
Update Spring dependencies to latest snapshots
2021-05-27 08:43:27 +02:00
Mahmoud Ben Hassine
fa8063fa74
Upgrade gradle version to 6.9
...
Resolves #3917
2021-05-27 08:18:15 +02:00
Spring Builds
29730dcba8
[artifactory-release] Next development version
2021-05-19 11:53:10 +00:00