Skip to content

v0.0.4

Latest
Compare
Choose a tag to compare
@dominiksta dominiksta released this 02 Dec 00:21
· 1 commit to master since this release
7b1ecdf

Running

Download the .jar file and run it with java -jar jfiredump-0.0.4.jar. See README.md for details on usage. The .jar is built for java version 1.8 (might change in the future), so make sure the required jre/jdk is installed. Outside of java itself, all dependencies are bundled.

Changelog

Added

  • New --run-file command line argument to execute an exsiting sql file. Only INSERT statements are allowed since this is intended to be used to restore dumps.
  • Source database (host, port, path) added to the header information of exported files.

Changed

  • The order of the positional command line arguments has changed! The "file" argument now comes before the "table" argument. This is done because the new option --run-file (used to restore from a dump) will simply use the existing "file" argument and ignore the "table" argument.
  • The output folder when exporting all tables was changed to include to the current date and time. This way, when exporting all tables multimple times, the individual files end up in different folders. This made development/testing a little bit easier for me.
  • Binary data set to NULL is now exported as NULL. Binary data will only be set to '[BINARY_DATA_LOST_IN_EXPORT] when it is not NULL.

Fixed

  • Milliseconds in time types were incorrectly zero-padded, resulting in a slight decrease in the value
  • Typo 'jfirebird' -> 'jfiredump' in file headers
  • Typo 'SQL_DIALECT' -> 'SQL DIALECT' in file headers