DATAJDBC-294 - Fixed handling of Id names in WHERE-clauses.

RelationalPersistentEntityImpl.getIdColumn wasn’t respecting @Column annotations.
This commit is contained in:
Jens Schauder
2018-11-15 10:31:53 +01:00
parent 67007354db
commit 054c32c7f4
8 changed files with 39 additions and 23 deletions

View File

@@ -62,7 +62,7 @@ class RelationalPersistentEntityImpl<T> extends BasicPersistentEntity<T, Relatio
*/
@Override
public String getIdColumn() {
return this.namingStrategy.getColumnName(getRequiredIdProperty());
return getRequiredIdProperty().getColumnName();
}
/*