Skip to content

DataAccessUtils result accessors with Optional return value #27728

Closed
@jhoeller

Description

@jhoeller

Related to #724, DataAccessUtils should provide an optionalResult method for Collection as well as Stream arguments (and also for Iterator because we need that internally anyway), returning a corresponding Optional wrapper or Optional.empty().

In addition, a singleResult overload for a Stream argument (and for Iterator) would complete the overall arrangement in DataAccessUtils.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: supersededAn issue that has been superseded by anothertype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions