Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » (no subject)
(no subject) [message #696318] Wed, 13 July 2011 12:40
LA  is currently offline LA
Messages: 13
Registered: June 2011
Junior Member

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: think is similar to mine

Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:

Current Time: Mon Apr 21 05:52:45 EDT 2014

Powered by FUDForum. Page generated in 0.12726 seconds