It's not strictly .equals, but if they are .equals that's good enough ... there are a handful of keys that JDBCPlugIn cares about (url, username, couple others -- i can look them up if you really care) that determine when you get a new eodatabasecontext.
ms On Jun 29, 2010, at 11:19 PM, Andrew Lindesay wrote: > Hi Chuck; > > Ah; that's the key piece of information –– if two models' connection > dictionaries are equals() then the same JDBC connection is used for the two > models. > > cheers. > >> Are these models using different logins and schemas? If not, they should >> all share the same connection if their connection dictionaries are >> .equals(). If they are all different, then EOF is going to want to consider >> them to be different. Putting the schema name in the table name and >> ensuring that the connection dictionaries are .equals() may work, I have >> never tried that. > > ___ > Andrew Lindesay > www.silvereye.co.nz > > _______________________________________________ > 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/mschrag%40pobox.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]
