Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Database > Database APIs

    JDatabaseImport 0.1

    Download button

    No screenshots available
    Downloads: 628  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Guilherme Silveira | More programs
    The Apache License 2.0 / FREE
    October 12th, 2006, 15:58 GMT
    ROOT / Database / Database APIs

     Read user reviews (0)  Refer to a friend  Subscribe

    JDatabaseImport description

    JDatabaseImport is a simple tool created to import data between different databases.

    JDatabaseImport is a simple tool created to import data between different databases.

    How does it work?

    You can work with it in two ways, either using a configuration file or accessing its api using Java.

    Example:

    The following code show an example of a file called *export.xml*:

    < export >
    < from >
    < driver >org.hsqldb.jdbcDriver< / driver >
    < url >jdbc:hsqldb:hsql://localhost/source< / url >
    < username >sa< / username >
    < password >mysapass< / password >
    < / from >
    < to >
    < driver >com.mysql.jdbc.Driver< / driver >
    < url >jdbc:mysql://localhost/target< / url >
    < username >root< / username >
    < password >myrootpass< / password >
    < / to >
    < table name="firstTable"/ >
    < table name="secondTable" >
    < ignore >fieldToBeIgnored< / ignore >
    < / table >
    < table name="thirdTable"/ >
    < / export >

    Note that JDatabaseImport *will not* generate the target tables, but only import data from one source into the other.

    In order to run JDatabaseImport, you need to put all drivers in the classpath and run it. The following code is an example on how to use it to import from mysql to hsqldb
    java -cp mysql-connector-3.1.1.jar:hsqldb.jar:jdatabaseimport.jar br.com.caelum.jdatabaseimport.Main export.xml

    What's New in This Release:

    · This initial release has been tested with hsqldb, MySQL, Derby, and Oracle using some field types and different configurations.



    Product's homepage

      


    TAGS:

    import data | database import | database data | JDatabaseImport | import | database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM