SchemaCrawler - Serialization Example
Description
SchemaCrawler allows export of database schema to JSON and YAML, via the serialize
command.
How to Setup
- Make sure that java is on your PATH
- Start a command shell in the
_downloader
directory - Run
download.cmd jackson
(ordownload.sh jackson
on Unix) to install serialization support using Jackson
How to Run
- Make sure that java is on your PATH
- Start the test database server by following instructions in the
_testdb/README.html
file - Start a command shell in the
serialize
example directory - Run
serialize.cmd json
(orserialize.sh json
on Unix)
How to Experiment
- Run
serialize.cmd yaml
(orserialize.sh yaml
on Unix). (In order to restore the database, restart the database server.)