DATAJDBC-142 - Using getName instead of getColumnName for constructing PropertyPaths.
This commit is contained in:
committed by
Greg Turnquist
parent
964f319ae6
commit
31eeba743f
@@ -91,7 +91,7 @@ public class JdbcMappingContext extends AbstractMappingContext<JdbcPersistentEnt
|
||||
if (property.isEntity()) {
|
||||
|
||||
PropertyPath nextPath = path == null ? PropertyPath.from(property.getName(), rootType)
|
||||
: path.nested(property.getColumnName());
|
||||
: path.nested(property.getName());
|
||||
paths.add(nextPath);
|
||||
paths.addAll(referencedEntities(rootType, nextPath));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user