org.tentackle.db.tools
Class CopyDb

java.lang.Object
  extended by org.tentackle.db.tools.CopyDb

public class CopyDb
extends Object

Console application to copy tables from the current db to another.

 usage: CopyDb <table> [<user> <passwd>]
 
The app expects two property-files in the current classpath:
  1. SourceDb.properties for the source-db
  2. DestDb.properties for the destination-db
user and passwd args are optional if not given in the property files (as dbuser and dbpasswd). Example:
 org.tentackle.db.tools.CopyDb de.krake.jplsbl.dbms.Barren 
 

Author:
harald

Field Summary
static String TX_COPY_DB
          transaction name for "copy db"
 
Constructor Summary
CopyDb(String[] args)
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TX_COPY_DB

public static final String TX_COPY_DB
transaction name for "copy db"

See Also:
Constant Field Values
Constructor Detail

CopyDb

public CopyDb(String[] args)
       throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de