org.tentackle.db.tools
Class CopyDb
java.lang.Object
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:
- SourceDb.properties for the source-db
- 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TX_COPY_DB
public static final String TX_COPY_DB
- transaction name for "copy db"
- See Also:
- Constant Field Values
CopyDb
public CopyDb(String[] args)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de