开发者

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

I'm looking to automatica开发者_Go百科lly generate an XML version of a database schema from SQL (Postgres) DDL.

Are there any tools to help with getting from the DDL to XML?

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


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


Things that spring immediately to my mind:

Liquibase
Schemaspy
SQL Workbench's WbSchemaReport

They don't use a DDL (SQL) script as input but require a database connection.


Have you also researched DbUnit?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜