Consider sanitised names when copying parameter sources.

Closes #1565
This commit is contained in:
Jens Schauder
2024-07-16 16:01:03 +02:00
parent 1b091da5ee
commit b3a1dc5638
4 changed files with 85 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class SqlIdentifierParameterSource extends AbstractSqlParameterSource {
for (SqlIdentifier identifier : others.getIdentifiers()) {
String name = identifier.getReference();
String name = BindParameterNameSanitizer.sanitize( identifier.getReference());
addValue(identifier, others.getValue(name), others.getSqlType(name));
}
}