Hi there,
On 19/10/2005, at 3:20 AM, Chuck Hill wrote:
On Oct 17, 2005, at 1:23 AM, Ute Hoffmann wrote:
do you think it si possible to do this:
Have a for-loop which loops through a list of database connections.
Each loop sets the value of a given modelfile to those of a
different DB, then makes a connection, updates some values, closes
the connection....
You will need to create a different model group for each if the
models have entities with the same name. That means then that they
will have different snapshot stores and you can't
"localInstanceOfObject" from one the other (hmmm, I think).
Closing the connection and discarding the EOF stack may also take
you into buggy EOF territory.
<...>
Background: I have a number of identical DB's and want to update/
hand over some values from a different WOApp into those DB's.
I'd look at other alternatives.
e.g., WebServices Server/Client architecture
Question: Are the indentical DB's for duplicate applications?
Maybe consider abstracting your WOApps one step further by wrapping
your main database with a Web Services app instead of duplicating
your database (except for backup).
with regards,
--
LD
_______________________________________________
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]