Doing this to create a separate stack: (thought this was correct, but maybe not using wonder?)

EOObjectStoreCoordinator osc = new EOObjectStoreCoordinator();
EOEditingContext ec = new EOEditingContext(osc);

causes this error as soon I try to use the editing context:

[2009-1-28 16:24:35 EST] <main> java.lang.IllegalArgumentException: The connection dictionaries for EOPrototypes and YourModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set EOPrototypes.removeJdbc2Info=true and YourModel.removeJdbc2Info=true in your Properties file. (EOPrototypes={username = "user"; password = "password"; URL = "jdbc:mysql://localhost/Test? capitalizeTypenames=true&useUnicode=true&characterEncoding=UTF-8"; }; and YourModel={driver = "com.mysql.jdbc.Driver"; password = "password"; username = "user"; URL = "jdbc:mysql://localhost/Test? capitalizeTypenames=true&useUnicode=true&characterEncoding=UTF-8"; }). at er.extensions.eof.ERXModelGroup.fixJDBCDictionary(ERXModelGroup.java: 890) at er .extensions .eof.ERXModelGroup.resetConnectionDictionaryInModel(ERXModelGroup.java: 967)
        at er.extensions.eof.ERXModelGroup.addModel(ERXModelGroup.java:369)
at er.extensions.eof.ERXModelGroup.addModelWithPathURL(ERXModelGroup.java: 550) at er .extensions .eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:199)

What do I need to do to create multiple EOF stacks properly? I should mention that I'm trying to create these in separate threads. I tried added the propertys mentioned, but that hasn't helped. Thanks.


Bill



_______________________________________________
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]

Reply via email to