Hi Tom,
Are you going to javapolis ? I will be there the whole week..
Mvgr,
Martin
Thomas Dudziak wrote:
On 12/2/05, ravi <[EMAIL PROTECTED]> wrote:
I have to dump the schema of only user tables to xml file. When I use
Platform.readModelFromDatabase() method ,XML file contains system table
also.
How can I do that?
Which database are you using ?
Anyways, there is a variant of that method where you can specify the
table types to be processed
http://db.apache.org/ddlutils/api/org/apache/ddlutils/Platform.html#readModelFromDatabase(java.lang.String,%20java.lang.String,%20java.lang.String[])
Note that these types are database-specific, the common types are
noted in the JDBC doc (per default, only tables of type TABLE are
returned):
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getTables(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String[])
Tom