Results 1 to 3 of 3
  1. #1
    ciglesias is offline Member
    Join Date
    Apr 2011
    Posts
    5
    Rep Power
    0

    Default Java to exchange info between databases

    Hello,

    I'm developing a program that connects to a mysql database and retrieves some queries. After this it has to enter this information into a postgresql database.

    I know how to make the queries in the first place, but don't know the best way to store the information in the program and then make the inserts into the other database.

    I suppose there is a standard way of doing this.

    Thanks!

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default

    If I understand what you are asking...query one database, get the data, depending upon the needs map the data to an object, then insert said data into a table in the other database. Trail: JDBC(TM) Database Access (The Java™ Tutorials)

  3. #3
    ciglesias is offline Member
    Join Date
    Apr 2011
    Posts
    5
    Rep Power
    0

    Default

    That's exactly what i was talking about.

    Going to look at that documentation.

    Thank you!.

Similar Threads

  1. new to databases with java
    By JOHNINALBANY in forum New To Java
    Replies: 2
    Last Post: 07-07-2012, 03:28 PM
  2. Replies: 2
    Last Post: 06-07-2012, 10:07 PM
  3. Replies: 1
    Last Post: 10-30-2009, 10:58 PM
  4. Replies: 0
    Last Post: 07-22-2008, 05:36 PM
  5. Replies: 0
    Last Post: 04-07-2008, 08:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •