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 1515 */
1616package org .mybatis .dynamic .sql .configuration ;
1717
18- import org .mybatis .dynamic .sql .exception .DynamicSqlException ;
19-
2018import java .io .IOException ;
2119import java .io .InputStream ;
2220import java .util .Properties ;
2321
22+ import org .mybatis .dynamic .sql .exception .DynamicSqlException ;
23+
2424public class GlobalConfiguration {
2525 public static final String CONFIGURATION_FILE_PROPERTY = "mybatis-dynamic-sql.configurationFile" ; //$NON-NLS-1$
2626 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() {
4343 List <Optional <FieldAndValueAndParameters >> fieldsAndValues = model .mapColumnMappings (m -> m .accept (visitor ))
4444 .collect (Collectors .toList ());
4545
46- if (fieldsAndValues .stream ().noneMatch (Optional ::isPresent )) {
46+ if (fieldsAndValues .stream ().noneMatch (Optional ::isPresent )) {
4747 throw new InvalidSqlException (
4848 "All optional set phrases were dropped when rendering the general insert statement" );
4949 }
You can’t perform that action at this time.
0 commit comments