Oy on a different note, I created a coooool WebObjects interface but
the users still desire their backend interfaces.
Don
On Feb 1, 2009, at 2:05 AM, Don Lindsay wrote:
Hello;
I am writing a monitoring java app. This app does not have a front
end or web interface. I just want to be able to use EO to perform
some maintenance tasks on the data. (validity checks from user
database access). yes my users are allowed to connect directly to
the database, a very bad idea I know but they have to have it ( I
cant stop them having it ).
I have looked at all the documentation for how to open a datamodel
and interact with it programatically. I would appreciate any
pointers you can provide. After reviewing the JavaDocs I am
thinking that the following might work, it appears to be waaaay to
simple? but I have also learned with Webobjects and EO that if you
work too hard you are probably doing it wrong. Please help.
Thanks
Don
EOEditingContext oEO = null;
public EOEditingContext getEO() {
if (oEO==null) {
oEO = new EOEditingContext();
EOUtilities.connectWithModelNamed(oEO,"myspecialmodel",null);
}
return oEO;
}
_______________________________________________
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/pccdonl
%40mac.com
This email sent to [email protected]
_______________________________________________
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]