On 9/26/05, Hale India <[EMAIL PROTECTED]> wrote:
> index tag and unique tag exists in both dtd but I
> found no index element nor unique element created when
> I have generated XML from our database using
> DatabaseIO().write
You could add a bug to DdlUtils' JIRA. If possible please use the
DumpMetadataTask on the database in question like so:
<taskdef name="dumpMetadata"
classname="org.apache.ddlutils.task.DumpMetadataTask">
<classpath refid="runtime-classpath"/>
</taskdef>
<dumpMetadata outputFile="metadata.xml">
<database url="jdbc:postgresql://localhost/visite"
driverClassName="org.postgresql.Driver"
username="superuser"
password="secretPassword"/>
</dumpMetadata>
and attach the output (basically a complete dump of the metadata as
returned by the jdbc driver).
> In fact I just add this in our eclipse db plugin.
> It generate XML from database and create database from
> XML using ddlutils. (it create also mapping and
> objects for Ojb).
>
> I hope that we will publish this new release soon. So
> any help welcome.
Cool! I'm just in the process of finalizing the 1.0 release of
DdlUtils, by creaing unit tests and updating the doc.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]