Update JdbcUtils to improve enum support [SPR-14990] #19556
Closed
Comments
Juergen Hoeller commented Thanks for raising this! I've rolled a slightly more extensive change into |
This was referenced Jan 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: