SchemaCrawler - Serialization Example
Description
SchemaCrawler allows export of database schema to JSON and YAML, via the serialize command.
How to Setup
- Make sure that SchemaCrawler is installed on your system
- Make sure that
schemacrawleris on your PATH
How to Run
- Make sure that java is on your PATH
- Start the test database server by following instructions in the
_testdb/README.htmlfile - Start a command shell in the
serializeexample directory - Run
serialize.cmd json(orserialize.sh jsonon Unix)
How to Experiment
- Run
serialize.cmd yaml(orserialize.sh yamlon Unix). (In order to restore the database, restart the database server.)