To connect multiple databases..

in my model
C1 -- interface -- S1 -- interface -- DAS1 -- DB1
-- DB2
-- DB3
i established connection between c1 and DB1..
now im retrieving a field from DB1 and i with that field i want to search in other databases DB2 and DB3 and put all the tuples from DB1, DB2, DB3 as a single tuple.... i dunno how to model this, currently i go this field extracted from DB1 in DAS1 and how can i connect to DB2?
Do i need to place S2 -- DAS2 -- DB2 and pass back the data to S1 then to S2 ?? are is there any simple method to do it???
regards...
kams....

i established connection between c1 and DB1..
now im retrieving a field from DB1 and i with that
field i want to search in other databases DB2 and DB3
and put all the tuples from DB1, DB2, DB3 as a single
tuple.... i dunno how to model this, currently i
go this field extracted from DB1 in DAS1 and how can
i connect to DB2?
With another connection, statement, etc.
Do i need to place S2 -- DAS2 -- DB2 and pass back
the data to S1 then to S2 ?? are is there any simple
method to do it???As above.
Alternatively you set it up so the database does this for you using a remote view. Probably easier to code, probably no more efficient particular if you are using different database vendors. And it might not be possible.

Similar Messages

  • JDBC  - Connecting Multiple Databases

    Hi JDBC's
    I would like to know if it is possible to retrive a data from different tables and from different databases using a single query, which mean can I retrive data from multiple tables multiple databases in a single JDBC connection?
    If not, How do I implement it?
    Any Ideas or please point me to any related solution if you have.
    Thanks.

    Although theoretically possible in fact a single JDBC connection cannot work with several databases. To implement this feature somebody has to write another aggregating JDBC driver which parse SQL statement and work with other databases in background. I like this idea, but currently there is no such driver available.
    Scriptella ETL (http://scriptella.javaforge.com) offers an interesting solutions for cross-database operations. See example on how -to copy a table from oracle to hsqldb: http://snippets.dzone.com/posts/show/3511
    If you want to join 2 tables from different databases and copy the result to a third database use the following code:
    <query connection-id="db1">
    SELECT * FROM Table1
    <query connection-id="db2">
    SELECT * FROM Table2 WHERE Table2_ID=?Table1_ID
    <script connection-id="db3">
    INSERT INTO Table3 VALUES (?rownum, ?Table1_Field, ?Table2_Field);
    </script>
    </query>
    </query>
    Message was edited by:
    ejboy

  • How to connect multiple databases

    Hi all,
    This is my situation , i need to set the max number of connections to one database , if the connection exceeds then i need to connect to another database , is there any way to solve it? please help me

    Sounds like you want to write your own load balancer. Sweet!!
    As was already stated, this would be best handled by clustering your database servers.
    If it's not done at that level, what's the next best option? How are your users currently connecting to the database? Is it through a web server or from stand-alone clients? If it's a web server, the server should have some facility for creating datasources and pooling connections. If you are dead set on switching to a different database when the number of connections in the pool has been maxed out, then you might have to write your own singleton class to manage the connection pool(s).
    If your users are connecting through stand-alone clients, you have to force the client applications to connect through a single server that controls the connections.
    There's one major problem with switching databases...if a user saves some data there is no guarantee that they will connect to the same database when they want to read the data at some later point. Maybe if there is replication between the two databases in the cluster, they might be able to do that.
    Edited by: user9221846 on Feb 11, 2011 8:04 AM
    Edited by: user9221846 on Feb 11, 2011 8:05 AM

  • Primavera with Oracel 11g standard edition ( Connecting multiple databases)

    I have installed primavera 8.2 with Oracle 11g standard edition. ( After lots of trial and errors )
    I installed / Created two databases using primavera dbsetup.bat file for creating new database.
    Data base names are PMDB and PMDB2
    Currently i am using PMDB with oracle connection string as "ORCL" and database aliase as PMDB and its working fine
    "C:\app\xxxxx\oradata\orcl" this location contains both databases physically
    I seek your advice how to modify string to access other database ( PMDB1)
    because if i have tried with different aliase name but it connect to same database ie PMDB

    Is this P6 EPPM 8.2 or P6 PPM? Are you using P6 client or web to connect to it?
    If this is P6EPPM then you can log into P6 Administrator and expand database node, create a duplicate node of it and change the database connection parameters. Save it and try to login using P6 Web. Select the correct database from Advance link below Username/Password.
    If this is P6 PPM then define tns entries on your machine for both the databases ans use them to configure P6 client.
    Sachin Gupta

  • Create connection multiple database server connection with sinle client

    My problem is like this. I have 3 database servers like server A,server B,Server C. First Client will communicate with server A and Server B at the same time. Then if the connection is done then i need communicate with server C. Is there anybody who has the sample code for this. Please help me i am facing problems with this.

    I want to build a web site using jsp servlet for my university course purpose. In the background i will have three servers one is database server like server A another is certificate authority server like server B and the other one is Bank server like server C. Next, user will input through login page(say for example user name & password for database server A, certificate credentials for server B) then the login page will check user credentials kept in server A and at the same time with server B(CA server). If the user credentials kept in both of these servers(A &B) are matched then the page will inform that this is the valid user and connect to the bank server for money transaction. I hope now the my problem is clear to you. please answer me how can i prepare for that.
    what are the concepts related to that and have any demo code which i can use for that purpose.

  • How to connect multiple database in a single app?

    hi ppl,
    Im being asked to provide a application which is database independent.
    I need ur ways to approach this issue.
    if u have a solution, do drop in here.
    Thanks & Regards,
    intelnbril

    on the paper, the hibernate persistence framework can achieve that.
    In the reality its a bit more complicated as your app becomes more complex.
    anyway i'd say it is the best solution

  • How to add multiple databases for a single frontend

    We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
    If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
    Please help me in resolving this problem.
    Thanks......

    hi,
    what do you mean by connecting 2 databases? can you explain further?
    using entityframework you can connect to different databases
    public class CustomerContext : DbContext
    public ReportContext()
    : base("DefaultConnection")
    public DbSet<Customers> Customers { get; set; }
    and your connectionstring (config file)
    <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    you can add more connection strings on it.
    https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Multiple DataBase Connection in a Single Form

    hi all
    Is it Possible to have Multiple Database Connection With a Single Form
    Block a : Retriving data from a database Service a/Schema A.
    Block b : Retriving data from a Remote Database Service b / Schema B.
    If yes how to do this.
    regards
    jai
    email:[email protected]

    Sure you can access a database this way,
    but can you base a block on this database connect? No you can't.
    Frank

  • Connection to multiple databases using a single EJB

    How can I connect to multiple Databases (using @PersistenceContext) using an EJB?
    Did I need to connect various Entity Managers corresponding to the each database and simply send my Queries?
    I am using Glassfish Application Server
    Netbeans IDE
    Java Derby Database
    Oracle Database
    Java Persistence API
    Thanks in Advance

    Yes, you need a persistence context and thus entity manager per database. Depending on what you want to achieve you may also need to go to the next level in your skill set and learn all about distributed transactions.

  • 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.

  • Multiple Database Connectivity

    How do we establish connectivity to multiple databases from within one Java Application. And how do we so without any File DSN? We are developing an application which requires dynamic changing of databases located at remote locations. Please help.

    you can use a properties file to load the DB details on runtime based on the criteria.
    Just put your DB details in a TEXT file and store it as .properties file. You can read it using any input methods from java and pass the parameters to your connection.
    Hope this helps.Cheers,
    Sekar

  • Does BO 4.1 enable universe to connect to multiple database?

    Using BO 3.1, we can only connect an universe to single database. However, with BO 4.1 will it be possible to connect a single universe to multiple database?
    Regards
    Vinay

    Vinay, You can connect Universe to multiple databases using IDT (Information Design Tool). Find the below link for reference.
    SAP Business Objects Multi Source Universe - Information Design Tool - YouTube
    Regards,
    Sujitha

  • Including multiple databases per connection

    I have linked tables accross multiple databases and would
    like to include all applicable tables (from multiple databases) in
    a single dreamweaver database connection. Is this possible. I can't
    put all tables in a single database because one of the databases is
    a mirror of a quoting application and gets backed up to regularly
    which is why I need to keep intact.

    >microsoft access, is this what you are asking
    Yes, that is what I was asking. But I really don't know the
    answer for MS Access as I've never tried. I've worked with linked
    tables in Access, but not from ASP. Why don't you just give it a
    try. It should take a few minutes to test.

  • Connecting to Multiple database

    Hi how could i use Dreamweaver CS3 to connect to multiple
    databases in phpmyadmin?

    Maneet Puri wrote:
    > Hi,
    >
    > I have used a lot the extensions of Dreamweaver for
    implementing various
    > dynamic features with connectivity to MySQL databases,
    and I don't think there
    > is any extension which allows connecting to the multiple
    MySQL database. To do
    > this you will have to make changes to scripts, at one
    point of time from one
    > script in one instance there can just be one connection
    to one MySQL database,
    > what you can do is switch between the users and database
    of mysql. PHP offers a
    > function mysql_change_user() to switch users and connect
    to various different
    > MySQL database.
    What is stopping you from having more than one database
    connection
    string? You can select the connection from each behaviour
    that needs
    different databases.
    Or is then intent to combine the data from 2 database into
    one recordset?
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Multiple connection in Database ver 9i

    I am trying to connect multiple session to database 9i through form builder.
    if more than one session exist then procedure recompilation is hanging in other session.At a time only one session is working through form builder.

    Thanks for reply.
    It is only happening with oracle database 9i .recently I have switched over one of my developement environment to database 9i from 8i.
    With same configuration there was no problem in 8i .
    I have checked v$session_wait and v$lock there is no problem.
    again I have checked tablespace for space it is OK.
    undo_management is in Auto.
    Please let me know any clue.
    Arun

Maybe you are looking for

  • Can I access my Airport Extreme Remotely?

    I want to set up an Airport Extreme at our vacation cottage out-of-town, for guests to use. Because the cottage is far awsay from where I live, is there a way I can access the AEBS remotely (say, from home), to check that it's working and to reset/re

  • Album info in 7.1.1

    The new iTunes will not recognize album info when I am trying to rip CD's. Is it something I did or is anyone else finding the same problem?

  • Generate report to view mailbox folder statistics

    hi, can someone advise how I run and save a report to a txt file to show the number of mails  in each inbox of every mailbox on the exchange 2007 server? `joe prior

  • MSI Media Center Deluxe 2 Problem - Urgent!

    i've just got my new fx5600 vtdr graphics card and when i installed MSI Media Center Deluxe 2 under windows xp including the latest patch available, all the text parts in the software are presented with rectangles. now because i cannot read anything,

  • Normalizing the Audio on ALL Slides at the Same Time

    Adobe Captivate 7. I want to normalize the volume on ALL slides in one operation.  Right now I select Audio>Edit>Project.  The audio editor comes up.  BUT, when I select Adjust Volume>Normalize, it DOES NOT normalize anything until I select (by dragg