I am trying to make a LEFT JOIN in criteria api jpa without related entities (They are bound by foreign keys.). For this, I found only this option:
cb.equal(userRoot.get("userId"), productRoot.get("productId"))
But this option does INNER JOIN, which is not suitable for me.
I would be grateful for the instruction!