diff --git a/ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanPropertyAssoc.java b/ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanPropertyAssoc.java index a2a091ef6..739021196 100644 --- a/ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanPropertyAssoc.java +++ b/ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanPropertyAssoc.java @@ -609,7 +609,8 @@ public abstract class BeanPropertyAssoc extends BeanProperty implements STree String msg = "Error with the Join on [" + getFullBeanName() + "]. Could not find the matching foreign key for [" + matchColumn + "] in table[" + searchTable + "]?" - + " Perhaps using a @JoinColumn with the name/referencedColumnName attributes swapped?"; + + " Perhaps using a @JoinColumn with the name/referencedColumnName attributes swapped? " + + " or a @JoinColumn needs an explicit referencedColumnName specified?"; throw new PersistenceException(msg); } }