File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/main/java/org/apache/ibatis Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 23
23
import org .apache .ibatis .builder .BuilderException ;
24
24
import org .apache .ibatis .mapping .BoundSql ;
25
25
import org .apache .ibatis .mapping .SqlSource ;
26
- import org .apache .ibatis .parsing .PropertyParser ;
27
26
import org .apache .ibatis .reflection .ParamNameResolver ;
28
27
import org .apache .ibatis .scripting .LanguageDriver ;
29
28
import org .apache .ibatis .session .Configuration ;
@@ -169,8 +168,4 @@ private String invokeProviderMethod(Object... args) throws Exception {
169
168
return sql != null ? sql .toString () : null ;
170
169
}
171
170
172
- private String replacePlaceholder (String sql ) {
173
- return PropertyParser .parse (sql , configuration .getVariables ());
174
- }
175
-
176
171
}
Original file line number Diff line number Diff line change @@ -536,6 +536,9 @@ public LanguageDriver getDefaultScriptingLanguageInstance() {
536
536
return languageRegistry .getDefaultDriver ();
537
537
}
538
538
539
+ /**
540
+ * @since 3.5.1
541
+ */
539
542
public LanguageDriver getLanguageDriver (Class <? extends LanguageDriver > langClass ) {
540
543
if (langClass == null ) {
541
544
return languageRegistry .getDefaultDriver ();
You can’t perform that action at this time.
0 commit comments