Skip to content

Commit b9ac317

Browse files
committed
Fixes #137. Check there are not any pending incomplete methods. Thank
you Christian!
1 parent 7881bac commit b9ac317

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/apache/ibatis/session/Configuration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,12 @@ protected void buildAllStatements() {
698698
incompleteStatements.iterator().next().parseStatementNode();
699699
}
700700
}
701+
if (!incompleteMethods.isEmpty()) {
702+
synchronized (incompleteMethods) {
703+
// This always throws a BuilderException.
704+
incompleteMethods.iterator().next().resolve();
705+
}
706+
}
701707
}
702708

703709
/*

0 commit comments

Comments
 (0)