-
Suppose I have entity with two fields being foreign key to the same entity, but due to business requirements one might be initialized and other not. One is generated by hibernate and is a foreign key.
an having entity view:
But it produces query with invalid join condition. The question is - how using entity correlation I may select the related entity not using foreign key column but the other - helper column? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Problem solved - I have used JoinOnBuilder and it works as expected. |
Beta Was this translation helpful? Give feedback.
Problem solved - I have used JoinOnBuilder and it works as expected.