• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOF and Oracle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Xcode 1.1 Update?
  • Next by Date: Removal from mailinglist
  • Previous by thread: Re: EOF and Oracle
  • Next by thread: RE: EOF and Oracle
  • Index(es):
    • Date
    • Thread