#225 - Mapping - Add / review support for @IdClass

This commit is contained in:
Rob Bygrave committed 2018-03-15 18:19:17 +13:00
1 parent 602a35d0b6
commit 4799c56e25
34 files changed
+765 -309

No files matched your search

@@ -92,9 +92,9 @@ public class DeployTableJoinColumn {
private void setReferencedColumn(BeanTable beanTable) {
if (localDbColumn == null) {
BeanProperty[] idProperties = beanTable.getIdProperties();
if (idProperties.length == 1) {
localDbColumn = idProperties[0].getDbColumn();
BeanProperty idProperty = beanTable.getIdProperty();
if (idProperty != null) {
localDbColumn = idProperty.getDbColumn();
}
}
}