• 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
Using database objects in different schemas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using database objects in different schemas


  • Subject: Using database objects in different schemas
  • From: André Rothe <email@hidden>
  • Date: Tue, 12 Dec 2017 11:59:10 +0100

Hi,

I use an Oracle database, which has a "master" schema/account. This aacount uses my Webobjects application. There are a lot of "slave" schemas/accounts, which grant privileges on their own objects (tables, views etc.) to the master. So the master can access these objects like:

select * from slave1.table1;
select * from slave2.table1;

The objects within the "slave" accounts are identical, so it could be possible to use one EO model for all slaves.

How can I access these objects, if the master don't know the user/password for every slave? I cannot change the credentials for the model within the application without the passwords, but I have to change the source of each object within a model to the specific slave before I execute any query. Or should I use rawSQL?

I have no idea, how I could solve this with WebObjects. Is it possible at all?

Best regards
André

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using database objects in different schemas
      • From: Jean-François Veillette <email@hidden>
  • Prev by Date: Re: Fighting with Ajax Modal Dialogs et.al.
  • Next by Date: Re: Fighting with Ajax Modal Dialogs et.al.
  • Previous by thread: Re: Fighting with Ajax Modal Dialogs et.al.
  • Next by thread: Re: Using database objects in different schemas
  • Index(es):
    • Date
    • Thread