|(no subject) [message #696318]
||Wed, 13 July 2011 16:40
Registered: June 2011
I'm trying to do a Conditional LEFT JOIN with criteria API..but it doesn't work as expected.
Join ed = from.join("somethingCollection", JoinType.LEFT);
Path path = ed.get("some").get("hasEL");
Predicate p = cb.equal(path, Boolean.TRUE);
this adds a where clause t1.hasEL = true and I need it to be added to the ON expression.
Is it possible?
more details on this issues: http://forums.oracle.com/forums/thread.jspa?threadID=2177735 think is similar to mine
Powered by FUDForum
. Page generated in 0.02785 seconds