.id = ?
[params=(int) 1]
TRACE 09:59:19 - t 13741320, conn 11915355 [15 ms] spent
TIA,
Tobias
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Unnecessary-Join-on-bidirectional-OneToOne-relation-tp6900378p6903642.html
Sent from the OpenJPA Users mailing list archive
Sorry I didn't ask this in my initial email what version of OpenJPA are
you using, and how are you enhancing your Entities?
On Tue, Oct 18, 2011 at 3:02 AM, Tobias Trelle tobias.tre...@codecentric.de
wrote:
Dear Rick,
Rick Curtis wrote:
How are you mapping this relationship? Can you
-Join-on-bidirectional-OneToOne-relation-tp6900378p6904837.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Tobias -
Hmm, I thought for sure that this worked but I stand corrected. You are
correc that when selecting an Entity that is the owner of a bidirectional,
eager 1-1 (perhaps others) we issue an extra join. You probably already
found this out but if you were to call em.find(B.class,
/Unnecessary-Join-on-bidirectional-OneToOne-relation-tp6900378p6900378.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
https://issues.apache.org/jira/browse/OPENJPA-292 which seems to be
unresolved.
You are correct that the JIRA is unresolved... but but it appears that some
code was committed. By looking at the unit tests, it looks like the issue
may have been resolved.
How are you mapping this relationship? Can