We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c512fb7 commit 4c90c9cCopy full SHA for 4c90c9c
src/main/java/org/apache/ibatis/scripting/xmltags/ForEachSqlNode.java
@@ -59,6 +59,7 @@ public boolean apply(DynamicContext context) {
59
applyOpen(context);
60
int i = 0;
61
for (Object o : iterable) {
62
+ DynamicContext oldContext = context;
63
if (first || separator == null) {
64
context = new PrefixedContext(context, "");
65
} else {
@@ -79,7 +80,6 @@ public boolean apply(DynamicContext context) {
79
80
if (first) {
81
first = !((PrefixedContext) context).isPrefixApplied();
82
}
- DynamicContext oldContext = context;
83
context = oldContext;
84
i++;
85
0 commit comments