Skip to content

Commit

Permalink
Result Handler added
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakiran4u committed Aug 15, 2023
1 parent 5884646 commit 621fc17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</parent>

<artifactId>mybatis</artifactId>
<version>3.5.11.4</version>
<version>3.5.11.5</version>
<packaging>jar</packaging>

<name>mybatis</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public <E> List<E> query(MappedStatement ms, Object parameterObject, RowBounds r
list = (List<E>)((UpperCaseMapResultHandler)resultHandler).getResultList();
}
tcm.putObject(cache, key, list); // issue #578 and #116
}else {
}else if(resultHandler != null && resultHandler instanceof UpperCaseMapResultHandler){
UpperCaseMapResultHandler handler = (UpperCaseMapResultHandler)resultHandler;
handler.setResultList((List<Object>)list);
handler.setFromCache(true);
Expand Down

0 comments on commit 621fc17

Please sign in to comment.