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