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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user