You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== Transaction support in JobExplorer and JobOperator
256
+
257
+
This release introduces transaction support in the `JobExplorer` created through
258
+
the `JobExplorerFactoryBean`. It is now possible to specify which transaction manager
259
+
to use to drive the ready-only transactions when querying the Batch meta-data as well as
260
+
customizing the transaction attributes.
261
+
262
+
The same transaction support was added to the `JobOperator` through a new factory bean
263
+
named `JobOperatorFactoryBean`.
264
+
265
265
==== Improved Java records support
266
266
267
267
The support for Java records as items in a chunk-oriented step has initially been introduced in v4.3,
@@ -277,9 +277,12 @@ classes). The goal here is to make the configuration of the required `FieldSetMa
277
277
278
278
==== Batch tracing with Micrometer
279
279
280
-
With the upgrade to Micrometer 1.10, you can now get batch tracing in addition to batch metrics.
280
+
With the upgrade to Micrometer 1.10, you can now get Batch tracing in addition to Batch metrics.
281
281
Spring Batch will create a span for each job and a span for each step within a job. This tracing
282
-
meta-data can be collected and viewed on a dahsboard like link:$$https://zipkin.io$$[Zipkin] for example.
282
+
meta-data can be collected and viewed on a dashboard like link:$$https://zipkin.io$$[Zipkin] for example.
283
+
284
+
Moreover, this release introduces new metrics like the currently active step, as well as the job launch count
285
+
through the provided `JobLauncher`.
283
286
284
287
==== Java 8 features updates
285
288
@@ -289,10 +292,15 @@ We took the opportunity of this major release to improve the code base with feat
289
292
* Add `@FunctionalInterface` where appropriate in public APIs (see link:$$https://github.com/spring-projects/spring-batch/issues/4107$$[issue 4107])
290
293
* Add support to use types from the Date and Time APIs as job parameters. (see link:$$https://github.com/spring-projects/spring-batch/issues/1035$$[issue 1035$$])
291
294
292
-
==== Support for SAP HANA a job repository in Spring Batch
295
+
==== Support for SAP HANA a job repository
293
296
294
297
This release introduces the support of SAP HANA as an additional supported database for the job repository.
295
298
299
+
==== Full support for MariaDB as a separate product
300
+
301
+
Up until v4.3, Spring Batch provided support for MariaDB by considering it as MySQL. In this release, MariaDB
302
+
is treated as an independent product with its own DDL script and `DataFieldMaxValueIncrementer`.
303
+
296
304
==== New Maven Bill Of Materials for Spring Batch modules
297
305
298
306
This feature has been requested several times and is finally shipped in v5. It is now possible to use the newly
@@ -301,20 +309,21 @@ added Maven BOM to import Spring Batch modules with a consistent version number.
301
309
==== UTF-8 by default
302
310
303
311
Several issues related to characters encoding have been reported over the years in different
304
-
areas of the framework, like inconsitent default encoding between file-based item readers
312
+
areas of the framework, like inconsistent default encoding between file-based item readers
305
313
and writers, serialization/deserialization issues when dealing with multi-byte characters
306
314
in the execution context, etc.
307
315
308
316
In the same spirit as link:$$https://openjdk.java.net/jeps/400$$[JEP 400] and following the
309
317
link:$$http://utf8everywhere.org$$[UTF-8 manifesto], this release updates the default encoding
310
318
to UTF-8 in all areas of the framework and ensures this default is configurable as needed.
311
319
312
-
==== Native support
320
+
==== Full GraalVM native support
313
321
314
322
The effort towards providing support to compile Spring Batch applications as native executables
315
323
using the GraalVM native-image compiler has started in v4.2 and was shipped as experimental in v4.3.
316
324
317
-
In this release, the native support has been improved significantly and is now considered out of beta.
325
+
In this release, the native support has been improved significantly by providing the necessary runtime
326
+
hints to natively compile Spring Batch applications with GraalVM and is now considered out of beta.
0 commit comments