Re: EOEditingContext problem
Re: EOEditingContext problem
- Subject: Re: EOEditingContext problem
- From: Stefan Klein <email@hidden>
- Date: Wed, 18 Mar 2009 10:53:36 +0100
A good point to start is
http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-Multiple+Stacks+or+Instances
Stefan
.::welemski::. schrieb:
Hi Lists,
First of all I would like to apologize if this message appears on the
list twice as I have problem sending it from my email gateway.
Here's my problem:
I have an Entity called EInstitution with a string attribute named
xmlData. This xmlData holds an xml encoded using WOXMLCoder. xmlData
attribute holds all the information about images like height, width,
etc. etc. I have a two applications that uses this entity.
Application1 is where you you add images and descriptions.
Application2 is where you displays all images, contents etc using
DirectAction classes. The weird thing is that, when I made changes to
the images attributes like height and width and call saveChanges()
method it actually saves to the database however if I'm going to
access Application2 and get that new height and width it never detects
that changes made by Application1. Application2 can only get the new
changes if I'm going to stop the session and run the session again
using WOMonitor.
What am I doing wrong?
Btw, I created a class called CoreClass(String institutionName,
EOEditingContext aContext) with a method getInstitution that returns
EInstitution. And i put this class on a framework where Application1
and Application2 can access.
Regards,
•••••••••••••••••••••••••••••••••••••••
Lemuel Raganas
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden