Glen,

Looking more into this, its probably better to remove the associations and
use a straight forward queries for the resources.  I have had trouble in
the past with these types of associations and they only work really for
lists that do not change.  If we ever want to use any sort of caching (ie
on the parent pojo) these pojo's will need to be removed from the cache on
each update, which can be a truly hair greying experience.

If nobody has any objections I will replace the associations with queries.

Cheers Greg.



On 20 December 2013 00:55, Glen Mazza <glen.ma...@gmail.com> wrote:

> Yes, I'm aware of the headache, it's probably just a few line fix,
> hopefully it will get fixed as part of ROL-1942.  Please be patient (or use
> Hibernate in the interim.)
>
> Glen
>
> On 12/19/2013 07:02 AM, Greg Huber wrote:
>
>> Glen,
>>
>> It looks like the crud (add/delete) on the media file child association is
>> not working again:
>>
>> MediaFileDirectory directory;
>> ..
>> this.childFiles.addAll(directory.getMediaFiles());
>>
>> what technique do we now have to use with eclipselink to successfully
>> flush
>> these associations?
>>
>> Cheers Greg.
>>
>>
>

Reply via email to