Connecting to multiple schemas and resultset

I am trying to connect to two different schemas in oracle.
I want to join on tables from two different schemas and use resultset.
Is this possible?
Thanks.

Example: schema: billercenter, tablename:
collectinfo_desc
schema: ecxdev, tablename: members
In oracle you have to login to each of these schemas
separately.
I need more detail how to accomplish this.You only need one connection / query to accomplish this. In Oracle, you use GRANTS to control access to tables between schemas.
If you create a user foo, you could run SQL commands like.
(as billercenter) grant select on collectinfo_desc to foo;
(as ecxdev) grant select on members to foo;
Then, user foo can run a query like this.
select a.member_id, b.collect_id
from excdev.members a, billercenter.collectinfo_desc b
where a.collect_id = b.collect_id;

Similar Messages

  • Multiple JNDI connections and connecting to multiple schemas

    Currently I have some code that makes a connection to a specific schema in the oracle database.
    I need to somehow connect to more than one schema and do some resultset processing on tables in two different schemas.
    How can I do I establish the connection to two schemas with JNDI?
    Is this possible?
    Thanks.

    have u looked at XA datasources and distributed transactions

  • Connecting to multiple schemas using datasources file

    I am trying to connect to multiple oracle schemas on the same database using a 10.1.3 version of datasources.xml file. Has any one done this. If yes, can you please post an example.

    I am trying to connect to multiple oracle schemas on the same database using a 10.1.3 version of datasources.xml file. Has any one done this. If yes, can you please post an example.

  • Connecting to multiple schemas

    am trying to connect to multiple oracle schemas on the same database using a 10.1.3 version of datasources.xml file. Has any one done this. If yes, can you please post an example.

    I tried it but the application behaviour is weird. For example when a save a record, the save data is not displayed. Some times old data is displayed

  • Mail 10.5 connecting on multiple ports and being blocked

    Mail 10.5 tries to connect to my work server on multiple ports and is blocked as a result. Is there a way to prevent it doing this?
    Alex

    Hi Alex
    Which ports?
    --greg

  • Export multiple schemas and tables in the same time

    Please help with this
    If I need to export 3 schemas SCH1, SCH2 and SCH3, also table tab1 and tab2 in schema SCH4, can anyone write only one parfile to export them in once.

    Are you going to use original exp/imp or data pump?
    It's not easy to do this in one shot if it's even possible.

  • Does Hibernate supports multiple schemas connection ?????

    i want to connect to multiple schema's on the same data base using
    hibernate...
    my hbm.xml looks like this
    <hibernate-mapping>
    <class name="SampleClass" table="SampleTable" schema="DynamicSchema">
    </hibernate-mapping>i need to enter the schema name as parameter
    and change it dynamically....
    is this possible or are there another way in hibernate ???
    thanks in advance and
    some code wouldn't kill any one :)

    To set schema dynamically the org.hibernate.mapping.Table class has a method setSchema(String)
    http://www.hibernate.org/hib_docs/v3/api/org/hibernate/mapping/class-use/Table.html

  • Application that connects to multiple databases.

    I am developing an application that performs many task, but one in particular is connecting to multiple databases and creating user accounts in each all with the push of a single button. I have tried putting connect statements in the trigger code but I don't get the desired results.
    How would I get my application to switch database connections while in execution?
    Please reply to the forum, or email me @ [email protected]
    Thank you.
    Travis

    Hi
    The only possible way which I could find for your requirement is that of DB Links. Establish DataBase Links among the multible databases, with which you want to work in one session. Peform all your actions through the DB Links.

  • JDBC: Closing Connection does it close statement and resultset

    In my application I am facing ORA-0100 Maximum open cursors exceeded problem. We are executing quite a few queries and stored procedures before we close the connection object. But in few places statements and resultsets are not closed. Can these be a problem? Shouldn't they be automatically closed when the connection is closed?
    We are executing this block of code in a loop.

    in few places statements and
    resultsets are not closed. Can these be a problem?Yes.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • My ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    my ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • HT201210 my iphone 3gs keeps showing the screen with the connect to itunes display, and I've restored it multiple times on different computers, but everytime it finishes restoring, it shows the display again and the computer says it needs to be restored.

    my iphone 3gs keeps showing the screen with the connect to itunes display, and I've restored it multiple times on different computers, but everytime it finishes restoring, it shows the display again and the computer says it needs to be restored. can anybody help me with this?

    it was saying error code 1, i tried the things it said but none of it worked. now it is not showing an error code at all, it just keeps saying it needs to be restored.

  • Can't i use xml schema and oledb data connection at the same time?

    Hello to all and thanks in advance.I use xml schema and oledb data connection at the same time and the problem is that when I try to export the xml, the outcome is not what i expect.Without the oledb connection everything is ok (just the schema) and the xml complies with the schema.
    Can't i have both schema and oledb and the exported xml be as i want it?

    You can use both at the same time, but not gor Internet access if that's what you're asking.
    Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
    Sorry.

  • Connection between multiple domains of AD and OIM

    I am trying to integrate OIM and AD (target resource) and I have 13 domains in AD. For one domain, connection between AD and OIM is established using OOTB connector.
    Can someone provide me approach for connection between multiple domains of AD and OIM.
    Do I need to install different connector server for different domains or OIM provides with some Connector Server cloning feature.

    Hi,
    this forum is for asking and answering JDeveloper and ADF related question. Your question should be asked to the FMW security forum here on OTN
    Frank

Maybe you are looking for