I think you only need to define the JDBC connection in the Weblogic engine and then add the resource to the web.xml. You shouldn't have to go thru the hassle of replacing the connection dictionary. For the prototypes you will still need to set the correct data types in the mapping however after the model loads.
Here is an example of the web.xml configuration http://stackoverflow.com/questions/2887967/what-is-resource-ref-in-web-xml-used-for Unless you are using multiple objectstorecoordinators - I don't think you want to try any connection pooling by the container. Dov Rosenberg On May 16, 2013, at 2:05 PM, Jon Espiritu <[email protected]> wrote: > Hello, > > Currently, I am working on an issue where I need to connect my model to a > database through a DataSource defined on my WebLogic Server. In my code, I am > creating a NSMutableDictionary and inserting the key, "DataSourceJndiName", > with the JNDI name of my DataSource as the value. I then pass that > NSMutableDictionary to "myModel.setConnectionDictionary(...)". This does not > work for me. I have confirmed that the JNDI name of my DataSource is in the > context of my WebLogic Managed Server. Am I missing another configuration? > Is this possible at all? > > Please let me know. > > Thank you very much, > Jon Espiritu > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/dov%40cfl.rr.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
