Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Left outer join on a unidirectional many to one mapping
Left outer join on a unidirectional many to one mapping [message #518116] Wed, 03 March 2010 02:08 Go to previous message
Andreas Christoforides is currently offline Andreas Christoforides
Messages: 6
Registered: July 2009
Junior Member
I have a many to one relationship from object A to object B.

When I use a bidirectional mapping I can executed the following JPQL query:

SELECT b, a FROM B b LEFT OUTER JOIN b.a a


How can I achieve the same result if I have a unidirectional mapping?

I know it can be done in SQL but I would like to implement it in JPQL.

Thanks,
Andreas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Database Locks after upgrading from Toplink to Eclipselink
Next Topic:JPA 2 metamodel generator with Maven
Goto Forum:
  


Current Time: Wed May 22 16:56:37 EDT 2013

Powered by FUDForum. Page generated in 0.01519 seconds