diff --git a/src/main/java/org/apache/ibatis/mapping/ResultMapping.java b/src/main/java/org/apache/ibatis/mapping/ResultMapping.java index 47c09f90400..bea2a3d9ad5 100644 --- a/src/main/java/org/apache/ibatis/mapping/ResultMapping.java +++ b/src/main/java/org/apache/ibatis/mapping/ResultMapping.java @@ -88,6 +88,7 @@ public Builder(ResultMapping otherMapping) { resultMapping.columnPrefix = otherMapping.columnPrefix; resultMapping.resultSet = otherMapping.resultSet; resultMapping.foreignColumn = otherMapping.foreignColumn; + resultMapping.lazy = otherMapping.lazy; } public Builder javaType(Class javaType) {