28
28
import org .mybatis .scripting .freemarker .FreeMarkerLanguageDriverConfig .TemplateFileConfig .PathProviderConfig ;
29
29
30
30
/**
31
- * The SQL provider class that return the SQL template file path. <br>
31
+ * The SQL provider class that return the SQL template file path.
32
+ * <p>
32
33
* <b>IMPORTANT: This class required to use with mybatis 3.5.1+</b> and need to use with SQL provider annotation (such
33
- * as {@link org.apache.ibatis.annotations.SelectProvider} as follow: <br>
34
- * <br >
34
+ * as {@link org.apache.ibatis.annotations.SelectProvider} as follow:
35
+ * <p >
35
36
*
36
37
* <pre>
37
38
* package com.example.mapper;
@@ -98,11 +99,9 @@ public static void setCustomTemplateFilePathGenerator(PathGenerator pathGenerato
98
99
* Set a configuration instance for {@link FreeMarkerLanguageDriver}.
99
100
* <p>
100
101
* By default, {@link FreeMarkerLanguageDriverConfig#newInstance()} will used.
101
- * </p>
102
102
* <p>
103
103
* If you applied an user define {@link FreeMarkerLanguageDriverConfig} for {@link FreeMarkerLanguageDriver}, please
104
104
* same instance to the this class.
105
- * </p>
106
105
*
107
106
* @param languageDriverConfig
108
107
* A user defined {@link FreeMarkerLanguageDriverConfig}
@@ -114,8 +113,7 @@ public static void setLanguageDriverConfig(FreeMarkerLanguageDriverConfig langua
114
113
115
114
/**
116
115
* Provide an SQL scripting string(template file path).
117
- *
118
- * <br>
116
+ * <p>
119
117
* By default implementation, a template file path resolve following format and priority order. If does not match all,
120
118
* it throw an exception that indicate not found a template file.
121
119
* <ul>
@@ -126,7 +124,6 @@ public static void setLanguageDriverConfig(FreeMarkerLanguageDriverConfig langua
126
124
* <li>com/example/mapper/BaseMapper/BaseMapper-{methodName}.ftl (fallback using declaring class of method and default
127
125
* database)</li>
128
126
* </ul>
129
- * <br>
130
127
*
131
128
* @param context
132
129
* a context of SQL provider
0 commit comments