Details
-
Type:
Refactoring
-
Status: Closed
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 2.2 M4
-
Fix Version/s: 3.0 RC1
-
Component/s: JDBC Support
-
Labels:
Description
Now we can configure 'row-mapper' only as 'fully qualified class name':
<jdbc:stored-proc-inbound-channel-adapter> <jdbc:returning-resultset name="out" row-mapper="org.springframework.jdbc.core.ColumnMapRowMapper"/> </jdbc:stored-proc-inbound-channel-adapter>
It's a bit limited ability.
It will be more flexible, if this attribute will be converted into bean reference as it is done in the <jdbc:outbound-gateway>.
Some additional useful ability will be interest too:
<jdbc:returning-resultset name="out" row-mapper="#{new org.springframework.jdbc.core.BeanPropertyRowMapper(T(com.my.entity.SomeEntity))}"/>