Made BeanPropertySqlParameterSource.beanWrapper protected #28527
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: declined
A suggestion or change that we don't feel we should currently apply
I found BeanPropertySqlParameterSource useful for use but it still supports java 1.3 java types. Today its normal to use for temporal fields from
java.time
package. ButBeanPropertySqlParameterSource
know nothing how to handle that and no way to plug that functionality into.this.beanWrapper
is private so extendingBeanPropertySqlParameterSource
will give useless object andStatementCreatorUtils.javaTypeToSqlParameterType
stuck in old java.Making
BeanPropertySqlParameterSource.beanWrapper
protected will allow to override this class and manipulate with custom types of bean, including ones fromjava.time
.The text was updated successfully, but these errors were encountered: