openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Trelle <tobias.tre...@codecentric.de>
Subject Re: Unnecessary Join on bidirectional OneToOne relation
Date Tue, 18 Oct 2011 14:32:02 GMT

Rick Curtis wrote:
> 
> Sorry I didn't ask this in my initial email.... what version of OpenJPA
> are
> you using, and how are you enhancing your Entities?
> 

I'm using OpenJPA 2.0.1.

The double join happens both with runtime and build time enhanced classes.
The build time enhancement is done with an ant task:

openjpa-enhance:
 [openjpac]  INFO 16:29:51 - No targets were given.  Running on all classes
in your persistent classes list, or all metadata files in classpath
directories if you have not listed your persistent classes.  Use -help to
display tool usage information.
 [openjpac] TRACE 16:29:51 - Enhancer running on type
"com.xyz.framework.util.db.jpa.oto.A".
 [openjpac] TRACE 16:29:52 - Enhancer running on type
"com.xyz.framework.util.db.jpa.oto.B".
BUILD SUCCESSFUL
Total time: 2 seconds

Cheers,
Tobias


--
View this message in context: http://openjpa.208410.n2.nabble.com/Unnecessary-Join-on-bidirectional-OneToOne-relation-tp6900378p6904837.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message