I m relatively new to hibernate and was wondering if someone could help me out. While I have no issues implementing a normal join on multiple columns in hibernate using the
@JoinColumnstag, I m stumped when trying to implement the following query in annotations:
SELECT A.* FROM TABLEA A LEFT OUTER JOIN TABLEB B ON A.UID = B.ID AND B.NAME = JAY
As you can see the join is also based on a value ( JAY ) which is not a column. I don t know how to proceed with such a mapping in annotations.
Can someone help?
Thanks, Jay