Skip to content

Update JdbcUtils to improve enum support [SPR-14990] #19556

Closed
@spring-projects-issues

Description

@spring-projects-issues

Yanming Zhou opened SPR-14990 and commented

Since we have StringToEnumConverter and IntegerToEnumConverter in shared DefaultConversionService, BeanPropertyRowMapper supports Enum now, but there is a little problem with jdbc 4.1 rs.getObject(index,type), if type is Enum it will always return null, actually we need String or Integer here, use rs.getObject(index) is fine.


Affects: 4.3.4

Reference URL: #1259

Issue Links:

Referenced from: commits 278a625, 4e41f74

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