Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » (no subject)
(no subject) [message #696318] Wed, 13 July 2011 12:40
Eclipse UserFriend
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: Fri Jul 04 19:52:20 EDT 2025

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

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

Back to the top