Remove check for constructor parameter names.

For Kotlin constructors and possibly others parameters maybe unnamed and still work with our infrastructure.

Closes #1762
This commit is contained in:
Jens Schauder
2024-04-24 12:16:27 +02:00
parent 13ed4baf45
commit ecdf7039ed

View File

@@ -69,10 +69,6 @@ public class JdbcMappingContext extends RelationalMappingContext {
return entity;
}
for (Parameter<Object, RelationalPersistentProperty> parameter : creator.getParameters()) {
Assert.state(StringUtils.hasText(parameter.getName()), () -> String.format(MISSING_PARAMETER_NAME, parameter));
}
return entity;
}