openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam....@cyberspaceroad.org>
Subject Re: many to many join
Date Thu, 13 Dec 2007 16:44:55 GMT
OK, thanks. It works with 1.1.0 and needs no enhancing.

BTW I can't find the pom.xml, so I had to add its dependencies direct to my POM.

Thanks
Adam

Michael Dick on 12/12/07 16:22, wrote:
> You can find a 1.1.0 snapshot at
> http://openjpa.apache.org/builds/1.1.0-SNAPSHOT/downloads/apache-openjpa-1.1.0-SNAPSHOT-binary.zip.
> 
> It was updated two days ago and includes the fix for OPENJPA-316.
> 
> Have you tried using the javaagent and confirmed that it does resolve the
> problem? IIRC it should work if you manually enhance your classes via the
> PCEnhancer tool but fails is you use automatic runtime enhancement.
> 
> -Mike
> 
> On Dec 12, 2007 12:02 PM, Adam Hardy <adam.sql@cyberspaceroad.org> wrote:
>> Adam Hardy on 12/12/07 11:43, wrote:
>>> Adam Hardy on 10/12/07 00:42, wrote:
>>>> I'm using a many-to-many join configured using XML and the sets on the
>>>> entities either side of the join are not populated when retrieving
>>>> entities from the database.
>>>>
>>>> Just read a recent thread
>>>>
>>>> http://article.gmane.org/gmane.comp.apache.openjpa.user/846
>>>>
>>>> where it stated that this works when -javaagent is specified to
>>>> enhance the entity classes. This is true, I can get it to work that
>>>> way.
>>>> Surely though it should also work without this java command parameter?
>>> Is this Jira - Unenhanced OneToMany collection not loaded
>>> http://issues.apache.org/jira/browse/OPENJPA-316
>>>
>>> causing this issue with many-to-many as well?
>> I see openjpa-316 is resolved for release 1.1.0 - is this available as a
>> snapshot to maven on a public server?

Mime
View raw message