Issue Number: 2380
Submitted By: Chris Delahunt
Obtained From: TopLink
Reviewed by: TopLink Team
Short Description: TopLink's use of an inner join prevents returning
expected query results, removes the join in the case an expression is
compared to itself (exp1=exp1, exp2!=exp2 etc).
Test: Tested with entity-persistence-tests.