Skip to content

Add BeanPropertyRowMapper.newInstance(mappedClass, conversionService)#24195

Merged
jhoeller merged 1 commit into
spring-projects:masterfrom
perceptron8:master
Dec 12, 2019
Merged

Add BeanPropertyRowMapper.newInstance(mappedClass, conversionService)#24195
jhoeller merged 1 commit into
spring-projects:masterfrom
perceptron8:master

Conversation

@perceptron8

Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown

@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
Copy Markdown
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.

4 participants