Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.2.0.Final
-
None
-
None
Description
Several utility reader/writers in jberet-support leverage JBeret's ability to @Inject @BatchProperty values that represent types other than Strings (e.g. [JdbcItemReaderWriterBase](https://github.com/jberet/jsr352/blob/master/jberet-support/src/main/java/org/jberet/support/io/JdbcItemReaderWriterBase.java#L58) as a particular example. While this support is useful, it means that these readers/writers may not work in other JSR-352 implementations (as I believe the spec reflects that only String injection must be supported).
Changing these readers and writers to use String injection, than resolving the types via other utilities would make these readers/writer portable and useful in other contexts.