RE: EOSharedEditingContext Useful for Read-Mostly?
RE: EOSharedEditingContext Useful for Read-Mostly?
- Subject: RE: EOSharedEditingContext Useful for Read-Mostly?
- From: "Mark Edwards" <email@hidden>
- Date: Tue, 27 Jul 2004 09:20:09 +1000
- Thread-topic: EOSharedEditingContext Useful for Read-Mostly?
You should just use the Session's default editing context:
session().defaultEditingContext()
For such a simple application, you may also find WODisplayGroup useful -
especially for display.
Have a read of the documentation - especially Web Applications and
Enterprise Objects:
http://developer.apple.com/documentation/WebObjects/Development-date.htm
l
Regards,
Mark
-----Original Message-----
From: email@hidden
[mailto:email@hidden] On Behalf Of Hunter
Hillegas
Sent: Tuesday, 27 July 2004 9:06 AM
To: WebObjects (Group)
Subject: EOSharedEditingContext Useful for Read-Mostly?
I have an app with a relation as follows:
Hotel<->>HotelComment
Users NEVER modify a Hotel EO. A cron job does run that modifies the
Hotels, once per night.
HotelComments are created and editing by users regularly.
From the JavaDoc, it sounds like EOSharedEditingContext is not
appropriate for my Hotel EOs but in the interest of doing things
correctly/efficiently, I wanted to ask. The app's main use is read-only
Hotel EO display... About 80% of the users just read.
Thanks,
Hunter
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.