M
marek
I've got some entity and I want to compare values from the same one in JPQL.
For example: SELECT i1 FROM Items i1, Items i2 WHERE i1.data = ?1 AND
i2.data = ?2, it works, but I need null values too, so I must use JOIN
(OUTER JOIN).
Items entity doesn't have references to itself.
My question's how can I use JOIN i this JPQL statement ?
For example: SELECT i1 FROM Items i1, Items i2 WHERE i1.data = ?1 AND
i2.data = ?2, it works, but I need null values too, so I must use JOIN
(OUTER JOIN).
Items entity doesn't have references to itself.
My question's how can I use JOIN i this JPQL statement ?