Test case and Fix for #67 - Bug - @AttributeOverrides annotation for attribute definition in entity does not work for embedded primary keys

This commit is contained in:
Rob Bygrave committed 2014-04-27 00:57:29 +12:00
1 parent dde59db411
commit d16d92db54
8 files changed
+155 -19

No files matched your search

@@ -26,7 +26,7 @@ public final class BindableIdEmbedded implements BindableId {
public BindableIdEmbedded(BeanPropertyAssocOne<?> embId, BeanDescriptor<?> desc) {
this.embId = embId;
this.props = embId.getTargetDescriptor().propertiesBaseScalar();
this.props = embId.getProperties();
matches = MatchedImportedProperty.build(props, desc);
}