DATAJPA-403, use existing join when one exists instead of creating one.

(cherry picked from commit 09f425f)