Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataAccessUtils result accessors with Optional return value #27728

Closed
jhoeller opened this issue Nov 24, 2021 · 1 comment · Fixed by #27735
Closed

DataAccessUtils result accessors with Optional return value #27728

jhoeller opened this issue Nov 24, 2021 · 1 comment · Fixed by #27735
Assignees
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

Comments

@jhoeller
Copy link
Contributor

jhoeller commented Nov 24, 2021

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.

@jhoeller jhoeller added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement labels Nov 24, 2021
@jhoeller jhoeller added this to the 5.3.14 milestone Nov 24, 2021
@jhoeller jhoeller self-assigned this Nov 24, 2021
@rstoyanchev
Copy link
Contributor

Superseded by #27735.

@rstoyanchev rstoyanchev removed this from the 5.3.14 milestone Nov 26, 2021
@rstoyanchev rstoyanchev added the status: superseded An issue that has been superseded by another label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants