Skip to content

BeanPropertyRowMapper should use ConversionService for date-time support [SPR-13888] #18461

Closed
@spring-projects-issues

Description

@spring-projects-issues

Radmila opened SPR-13888 and commented

Program is using org.springframework.jdbc.core.BeanPropertyRowMapper to map result set to the bean.
When mapping timestamp resultset column to the bean's java.time.LocalDateTime field, process fails with
org.springframework.jdbc.support.JdbcUtils getResultSetValue with error
IllegalStateException: Cannot convert value of type [java.sql.Timestamp] to required type [java.time.LocalDateTime] for property 'nameproperty': no matching editors or conversion strategy found.

Problem with spring 4.1.6.RELEASE. and JDK 1.8


Issue Links:

Referenced from: commits 7c96059

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions