Skip to content

Commit

Permalink
#101: Completely isolate new behaviour from existing via flag
Browse files Browse the repository at this point in the history
  • Loading branch information
epochcoder committed Mar 9, 2024
1 parent 5061ca0 commit 05527aa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,8 @@ Object createParameterizedResultObject(ResultSetWrapper rsw, Class<?> resultType
final String constructorColumnPrefix = getColumnPrefix(columnPrefix, constructorMapping);
final ResultMap resultMap = resolveDiscriminatedResultMap(rsw.getResultSet(),
configuration.getResultMap(constructorMapping.getNestedResultMapId()), constructorColumnPrefix);
value = getRowValue(rsw, resultMap, constructorColumnPrefix, parentRowKey);
value = getRowValue(rsw, resultMap, constructorColumnPrefix,
useCollectionConstructorInjection ? parentRowKey : null);
} else {
final TypeHandler<?> typeHandler = constructorMapping.getTypeHandler();
value = typeHandler.getResult(rsw.getResultSet(), prependPrefix(column, columnPrefix));
Expand Down

0 comments on commit 05527aa

Please sign in to comment.