alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

HSQLDB example source code file (transfertool.xml)

This example HSQLDB source code file (transfertool.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - HSQLDB tags/keywords

database, database, date, dump, manager, restore, restore, see, these, tool, tool, transfer, transfer, you

The HSQLDB transfertool.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: transfertool.xml,v 1.4 2005/06/12 23:37:47 fredt Exp $ -->
<appendix>
  <title>Transfer Tool

  <appendixinfo>
    <authorgroup>
      <author>
        <firstname>Fred

        <surname>Toussi

        <affiliation>
          <orgname>HSQLDB Development Group
        </affiliation>

        <email>ft@cluedup.com
      </author>
    </authorgroup>

    <edition>$Revision: 1.4 $

    <pubdate>$Date: 2005/06/12 23:37:47 $

    <keywordset>
      <keyword>Hsqldb

      <keyword>Transfer
    </keywordset>
  </appendixinfo>

  <section>
    <title>Brief Introduction

    <para>Transfer Tool is a GUI program for transferring SQL schema and data
    from one JDBC source to another. Source and destination can be different
    database engines or different databases on the same server.</para>

    <para>Transfer Tool works in two different modes. Direct transfer
    maintains a connection to both source and destination and performs the
    transfer. Dump and Restore mode is invoked once to transfer the data from
    the source to a text file (Dump), then again to transfer the data from the
    text file to the destination (Restore). With Dump and Restore, it is
    possible to make any changes to database object definitions and data prior
    to restoring it to the target.</para>

    <para>Dump and Restore modes can be set via the command line with -d
    (--dump) or -r (--restore) options. Alternatively the Transfer Tool can be
    started with any of the three modes from the Database Manager's Tools
    menu.</para>

    <para>The connection dialogue allows you to save the settings for the
    connection you are about to make. You can then access the connection in
    future sessions. These settings are shared with those from the Database
    Manager tool. See the appendix on Database Manager for details of the
    connection dialogue box.</para>

    <para>In version 1.8.0 Transfer Tool is no longer part of the hsqldb.jar.
    You can build the hsqldbutil.jar using the Ant command of the same name,
    to build a jar that includes Transfer Tool and the Database
    Manager.</para>

    <para>When collecting meta-data, Transfer Tool performs SELECT * FROM
    <table> queries on all the tables in the source database. This may
    take a long time with some database engines. When the source database is
    HSQLDB, this means memory should be available for the result sets returned
    from the queries. Therefore, the memory allocation of the java process in
    which Transfer Tool is executed may have to be high.</para>
  </section>
</appendix>

Other HSQLDB examples (source code examples)

Here is a short list of links related to this HSQLDB transfertool.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.