You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-user@db.apache.org by James Yu <cy...@gmail.com> on 2009/01/21 04:21:09 UTC

Export data/schema from only certain tables ??

Hi all,

In writeDataToFile's document, I don't see any nested elements to specify
which tables the data should be dumped from.
Is there a way (and how) to export data from just certain tables ??

Besides, I am not sure if the previous help requesting email got through.
Let me post it again.

Instead of exporting all tables, I tried to just export certain tables out
of a DB.
I read through DdlUtils' web page and still don't have any clue on how to
use "TableSpecificParameter".

Followings are the sneppits of my XML and the result of execution:
Maybe I didn't understand the material right, please correct me.

     17             <writeSchemaToFile outputFile="db-schema.xml">
     18                 <tableSpecificParameter table="foak_user_profile"/>
     19             </writeSchemaToFile>
BUILD FAILED
[blah] writeSchemaToFile doesn't support the nested "tableSpecificParameter"
element.

     17             <writeSchemaToFile outputFile="db-schema.xml">
     18                 <parameter table="user_profile"/>
     19             </writeSchemaToFile>
BUILD FAILED
[blah] writeSchemaToFile doesn't support the nested "parameter" element

-- 
This is a UTF-8 formatted mail
-----------------------------------------------
James C.-C.Yu
+886988713275