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

Add BeanPropertyRowMapper.newInstance(mappedClass, conversionService) #24195

Merged
merged 1 commit into from Dec 12, 2019
Merged

Conversation

perceptron8
Copy link
Contributor

Please consider adding BeanPropertyRowMapper.newInstance(mappedClass, conversionService).
I believe it's going to cover most use cases requiring custom conversion service.

This is similar to SingleColumnRowMapper.newInstance(requiredType, conversionService) which was added in #1678.

You may like / need to add @since in javadoc. I wasn't sure what version to use.

Similar to SingleColumnRowMapper.newInstance(requiredType,
conversionService) which was added in #1678.
@pivotal-issuemaster
Copy link

@perceptron8 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 12, 2019
@pivotal-issuemaster
Copy link

@perceptron8 Thank you for signing the Contributor License Agreement!

@jhoeller jhoeller self-assigned this Dec 12, 2019
@jhoeller jhoeller added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 12, 2019
@jhoeller jhoeller added this to the 5.2.3 milestone Dec 12, 2019
@jhoeller jhoeller merged commit dafe57f into spring-projects:master Dec 12, 2019
@jhoeller
Copy link
Contributor

Good point, it makes sense to add such an overloaded factory method there as well. Thanks for the PR!

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) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants