Re: EOF and Oracle
Re: EOF and Oracle
- Subject: Re: EOF and Oracle
- From: Ricardo Strausz <email@hidden>
- Date: Mon, 22 Dec 2003 13:06:46 -0600
Here is a sample code:
//first you nead to get the adaptor, from a dataSource e.g.,
adaptor = dataSource.databaseContext().adaptorContext().adaptor();
//then ask for the connection dictionary
dictionary = adaptor.connectionDictionary().mutableClone();
//finally, set the values as you want
dictionary.takeValueForKey("my.url:123","URL");
dictionary.takeValueForKey("myLogin","username");
dictionary.takeValueForKey("!@#$%","password");
adaptor.setConnectionDictionary(dictionary);
Suerte!
Dino
On Dec 21, 2003, at 14:38, Jonathan D. George wrote:
Hello,
For our application we use Oracle's internal security, in that each
user has their own Oracle username/password. There are multiple
schemas within the application, and thus the schema id must be
prepended to each table name in the SQL queries.
My question is.. . how do I programatically set the schema id for the
EOF connection dictionary?
Any advice on this would be greatly appreciated!
-Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >EOF and Oracle (From: "Jonathan D. George" <email@hidden>) |