diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java index ca04b05790..cf6dc1804b 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java @@ -609,7 +609,7 @@ public abstract class AbstractPropertyHolder implements PropertyHolder { final List> overrides = buildAssociationOverrides( element, path ); for ( AnnotationUsage override : overrides ) { final List> joinColumns = override.getList( "joinColumns" ); - if ( CollectionHelper.isNotEmpty( joinColumns ) ) { + if ( CollectionHelper.isEmpty( joinColumns ) ) { result.put( qualify( path, override.getString( "name" ) ), override.getNestedUsage( "joinTable" )