DefaultResultSetHandler#applyColumnOrderBasedConstructorAutomapping()
should call Constructor.getParameterTypes()
just once
#3113
Labels
polishing
Improve a implementation code or doc without change in current behavior/content
Milestone
MyBatis version
3.5.14
DefaultResultSetHandler
It's not a bug, but memory resources can be reduced by fixing it i guess
mybatis-3/src/main/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Lines 783 to 795 in b044200
In this code block,
constructor.getParameterTypes()
method is called so much, which clones objects causing memory waste.so i suggest this:
The text was updated successfully, but these errors were encountered: