Skip to content

Commit 9ed9e1b

Browse files
committed
Stick with current parameter naming for now.
1 parent 70c128a commit 9ed9e1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/DefaultDataAccessStrategy.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ public <T> Object insert(T instance, Class<T> domainType, Identifier identifier,
107107
}
108108

109109
@Override
110-
public <T> Object[] insert(List<RecordDescriptor<T>> recordDescriptors, Class<T> domainType,
111-
// TODO: A better name for this may be the inverse (generatedIdExpected)
112-
boolean includeId) {
110+
public <T> Object[] insert(List<RecordDescriptor<T>> recordDescriptors, Class<T> domainType, boolean includeId) {
113111

114112
SqlIdentifierParameterSource[] sqlParameterSources = recordDescriptors.stream()
115113
.map(recordDescriptor -> sqlParametersFactory.getInsert(recordDescriptor.getInstance(), domainType, recordDescriptor.getIdentifier()))

0 commit comments

Comments
 (0)