File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/apache/ibatis/mapping Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2009-2024 the original author or authors.
2+ * Copyright 2009-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -116,7 +116,7 @@ public ResultMap build() {
116116 // #101
117117 Class <?> javaType = resultMapping .getJavaType ();
118118 resultMap .hasResultMapsUsingConstructorCollection = resultMap .hasResultMapsUsingConstructorCollection
119- || (resultMapping .getNestedQueryId () == null && javaType != null
119+ || (resultMapping .getNestedQueryId () == null && resultMapping . getTypeHandler () == null && javaType != null
120120 && resultMap .configuration .getObjectFactory ().isCollection (javaType ));
121121
122122 if (resultMapping .getProperty () != null ) {
You can’t perform that action at this time.
0 commit comments