DataAccessUtils result accessors with Optional return value #27728
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
Related to #724,
DataAccessUtils
should provide anoptionalResult
method forCollection
as well asStream
arguments (and also forIterator
because we need that internally anyway), returning a correspondingOptional
wrapper orOptional.empty()
.In addition, a
singleResult
overload for aStream
argument (and forIterator
) would complete the overall arrangement inDataAccessUtils
.The text was updated successfully, but these errors were encountered: