net.sourceforge.jdbdump.connect
Class TestDump

java.lang.Object
  extended by net.sourceforge.jdbdump.connect.TestDump

public class TestDump
extends java.lang.Object

A class which may be used to test the dump/restore engine from the command line.

This is not a JUnit test, as the name could suggest. It's just a class with main() which I use to test dump creating, when I don't want to or can't use the web GUI.

Usage:
java TestDump dump|restore|print <dumpfile> <propfile>, where:

PropFile should be in classic properties format and should have such properties: Warning: if a dump from MySQL fails and throws an exception concerning an empty date (0000-00-00), add an option "?zeroDateTimeBehavior=convertToNull" to the end of the url.

Author:
jsuder

Constructor Summary
TestDump()
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs the command line tool with given arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDump

public TestDump()
Method Detail

main

public static void main(java.lang.String[] args)
Runs the command line tool with given arguments.

Parameters:
args - command line arguments


Copyright © 2005-2006 AGH International University of Science and Technology. All Rights Reserved.