File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/org/mybatis/dynamic/sql Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .mybatis .dynamic .sql .configuration ;
17
17
18
- import org .mybatis .dynamic .sql .exception .DynamicSqlException ;
19
-
20
18
import java .io .IOException ;
21
19
import java .io .InputStream ;
22
20
import java .util .Properties ;
23
21
22
+ import org .mybatis .dynamic .sql .exception .DynamicSqlException ;
23
+
24
24
public class GlobalConfiguration {
25
25
public static final String CONFIGURATION_FILE_PROPERTY = "mybatis-dynamic-sql.configurationFile" ; //$NON-NLS-1$
26
26
private static final String DEFAULT_PROPERTY_FILE = "mybatis-dynamic-sql.properties" ; //$NON-NLS-1$
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public GeneralInsertStatementProvider render() {
43
43
List <Optional <FieldAndValueAndParameters >> fieldsAndValues = model .mapColumnMappings (m -> m .accept (visitor ))
44
44
.collect (Collectors .toList ());
45
45
46
- if (fieldsAndValues .stream ().noneMatch (Optional ::isPresent )) {
46
+ if (fieldsAndValues .stream ().noneMatch (Optional ::isPresent )) {
47
47
throw new InvalidSqlException (
48
48
"All optional set phrases were dropped when rendering the general insert statement" );
49
49
}
You can’t perform that action at this time.
0 commit comments