Skip to main content


Eclipse Community Forums
Forum Search:

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

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);
predicateList.add(p);

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

regards,
la00
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Tue May 14 09:30:05 GMT 2024

Powered by FUDForum. Page generated in 0.02706 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top