Is there a tool to dump database schema (SQL DDL) in XML?

I want to automatically generate an XML version of a database schema from SQL (Postgres) DDL.

Are there any tools to help get from DDL to XML?

xml2ddl claims to do this, but it fails to connect and seems unsupported since 2005.

+3
source share
3 answers

You can use the built-in table_to_xmlschema, etc .; see http://www.postgresql.org/docs/current/static/functions-xml.html#FUNCTIONS-XML-MAPPING .

+2
source

That spring is immediately to mind:

Liquibase
Schemaspy
SQL Workbench WbSchemaReport

DDL (SQL) script , .

+1

Have you also explored DbUnit ?

+1
source

Source: https://habr.com/ru/post/1780695/


All Articles