the method is implemented to always return true:
org.hibernate.jpa.internal.metamodel.PluralAttributeImpl
but it should be:
org.hibernate.jpa.internal.metamodel.PluralAttributeImpl
to exclude @ElementCollection attributes, which are NOT associations in terms of entity model, just like @Embedded attributes are not associations for SingularAttribute
Hibernate 5.0.7 shipped with Wildfly 10.0.0.Final
Fixed in master, 5.1, and 5.0 branches.