Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eager OneToOne relationship not using JOIN
Eager OneToOne relationship not using JOIN [message #653898] Fri, 11 February 2011 13:16 Go to previous message
Mauro Flores is currently offline Mauro Flores
Messages: 83
Registered: September 2009
Location: Brasil
Member
An entity A has an eager one to one relationship with B(ore many to one).

When I run "Select a FROM A a", I'd like to eclipselink build just one sql select clause with a A e B joined.

But, unfortunally, eclipslinks build many sql select clause. One for listing A, and for each A instance a sql select for B.

How can I configure eclipselink in order to buld just one select clause?

Thanks. Mauro
 
Read Message
Read Message
Read Message
Previous Topic:CriteriaQuery<Boolean> fails with NoResultException but works when running generated SQL manua
Next Topic:RCP and concurrency
Goto Forum:
  


Current Time: Sun May 19 07:09:34 EDT 2013

Powered by FUDForum. Page generated in 0.05459 seconds