Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@
* @author Kazuki Shimizu
* @author Oliver Gierke
* @author Mark Paluch
* @author Paul-Christian Volkmer
*/
public class JdbcMappingContext extends RelationalMappingContext {

private static final String MISSING_PARAMETER_NAME = "A constructor parameter name must not be null to be used with Spring Data JDBC; Offending parameter: %s";

/**
* Creates a new {@link JdbcMappingContext}.
*/
Expand All @@ -59,19 +58,6 @@ public JdbcMappingContext(NamingStrategy namingStrategy) {
setSimpleTypeHolder(JdbcSimpleTypes.HOLDER);
}

@Override
protected <T> RelationalPersistentEntity<T> createPersistentEntity(TypeInformation<T> typeInformation) {

RelationalPersistentEntity<T> entity = super.createPersistentEntity(typeInformation);
InstanceCreatorMetadata<RelationalPersistentProperty> creator = entity.getInstanceCreatorMetadata();

if (creator == null) {
return entity;
}

return entity;
}

@Override
protected RelationalPersistentProperty createPersistentProperty(Property property,
RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) {
Expand Down