[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Updates on Database not being picked up via eclipselink
|
Do you have cascade.type=ALL set on the relationship? If you don't
have that, just adding to the child list won't work.
Also if you're new to Eclipselink in RCP check out my blog post for a
working example and some best (as in they seem to work in a production
system) practices.
http://www.weheartcode.com/2008/08/27/eclipselink-in-j2se-rcp-applications/
./tch
On Mon, Dec 8, 2008 at 9:19 AM, James Sutherland <jamesssss@xxxxxxxxx> wrote:
>
> See,
>
> http://www.eclipse.org/newsportal/article.php?id=446&group=eclipse.rt.eclipselink#446
>
> (BTW, you don't need to post to both forums, either will get you an answer)
>
>
> msimcox wrote:
>>
>> Hi,
>>
>> I have a entity association from parent->child, where a parent can have
>> many children (as always). I'm using eclipselink for the first time and
>> I'm finding that when I add/remove a new child via my RCP front end and
>> refresh the parent entity it doesn't pick up the changes. I can see that
>> the updates are occurring correctly in the oracle back end.
>>
>> I've set up some manually sysout calls that loop tell me exactly whats
>> being picked up from the tables when I refresh the list and i can see that
>> its only picking up the data from the last restart. If I restart the
>> changes are picked up.
>>
>> This has led me to think that perhaps there is some caching going on but
>> I'm not sure how to change this. Any ideas?
>>
>
>
> -----
> ---
> http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
> http://www.eclipse.org/eclipselink/
> EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
> TopLink
> Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
> http://wiki.oracle.com/page/TopLink TopLink
> Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
> http://www.nabble.com/EclipseLink-f26430.html EclipseLink
> Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
> --
> View this message in context: http://www.nabble.com/Updates-on-Database-not-being-picked-up-via-eclipselink-tp20888642p20896149.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>