2007/7/24, Ute Hoffmann <[EMAIL PROTECTED]>:

Hallo,

I use code like:
aGruppe.jgruppeprodukts_produkt() to fill a Array with Objects. The
Objects come from a flattened many to many realtionship.


Without know what this method do, I can't say what the problem can be, but
try use
ec.refreshAllObjects()
on your Editing context (ec) after the inster of the element

This works well, but when I add a new Element to the relationship the
element will not show in the list.

Question: Is there a way to get a refreshed fetch for the realtionship.

Will changing the editingContext do the trick? At the moment
everything is in the session defaut edcontext. Will a new
editingcontext  solve this?

Is there a way to tell the above code to get fresh data from the db
(apart from timeStampLag - which is set but does not show a effect?).

Thanks for a tip.

Regards

Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you
open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to