|
|
|
|
@ -315,7 +315,6 @@ public class BasicJdbcConverter extends BasicRelationalConverter implements Jdbc
@@ -315,7 +315,6 @@ public class BasicJdbcConverter extends BasicRelationalConverter implements Jdbc
|
|
|
|
|
private T populateProperties(T instance, @Nullable Object idValue) { |
|
|
|
|
|
|
|
|
|
PersistentPropertyAccessor<T> propertyAccessor = getPropertyAccessor(entity, instance); |
|
|
|
|
|
|
|
|
|
PreferredConstructor<T, RelationalPersistentProperty> persistenceConstructor = entity.getPersistenceConstructor(); |
|
|
|
|
|
|
|
|
|
for (RelationalPersistentProperty property : entity) { |
|
|
|
|
@ -460,7 +459,8 @@ public class BasicJdbcConverter extends BasicRelationalConverter implements Jdbc
@@ -460,7 +459,8 @@ public class BasicJdbcConverter extends BasicRelationalConverter implements Jdbc
|
|
|
|
|
|
|
|
|
|
return readOrLoadProperty(idValue, property); |
|
|
|
|
}); |
|
|
|
|
return populateProperties(instance, idValue); |
|
|
|
|
|
|
|
|
|
return entity.requiresPropertyPopulation() ? populateProperties(instance, idValue) : instance; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|