When an EntityGraph uses an attribute which is also used for isMember where function an illegal sql is generated.
Having to entities: Foo and Bar. Entity Bar is holding a collection of Foos.
Using EntityGraph for attribute foos and using isMember function in the where clause.
Will end in an illegal sql.