-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
in: corerelated-to: item-readers-writersstatus: waiting-for-triageIssues that we did not analyse yetIssues that we did not analyse yettype: feature
Description
Philippe opened BATCH-2681 and commented
Today there is no reader component to be configured to read data from a Stream object.
It would be especially usefull that RepositoryItemReader could be configured to read data from a method whose return type is Stream<T> (today we get an exception if you try to do it, it seems to support only Page<T> types).
The reason is that with JPA those method use cursor, if the database support it, and so we can consequently get good performance results when batching treatment.
In the other case, we have to use the HibernateCursorItemReader, which is Hibernate specific because it require a SessionFactory, to read data with cursor.
No further details from BATCH-2681
pilak and micheljung
Metadata
Metadata
Assignees
Labels
in: corerelated-to: item-readers-writersstatus: waiting-for-triageIssues that we did not analyse yetIssues that we did not analyse yettype: feature