db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Yu <cyu...@gmail.com>
Subject Export data/schema from only certain tables ??
Date Wed, 21 Jan 2009 03:21:09 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message