db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Li" <allanju...@gmail.com>
Subject Re: Problem with reading XML.
Date Tue, 28 Feb 2006 04:45:40 GMT
Anyone else have the same unique key problem?
I mean when you import xml into a database (SQL Server), it creates an
unnecessary unique key for every table.

Tom, how can I do the filter in program?


On 2/16/06, Jun Li <allanjunli@gmail.com> wrote:
>
>
>
> On 2/14/06, Thomas Dudziak <tomdzk@gmail.com> wrote:
> >
> > On 2/13/06, Jun Li <allanjunli@gmail.com> wrote:
> > > The problem with unique key still exists.
> >
> > That's strange. Every unit test uses a primary key and DdlUtils always
> > filters the unique indices for them. Could you try with the Sql Server
> > 2005 JDBC driver (I'm not sure what version 2.2.0022 is, but I guess
> > its the Sql Server 2000 driver)..
>
>
> I did use the latest Sql Server 2005 JDBC driver. The problem hasn't been
> solved.
>
>
> > And the problem with single apostrophe appeared again.
> >
> > I didn't work on that yet (issue is still open) so no surprise there.
>
>
> But it worked once, so I thought you've finished this.
>
>
> > One more question, can I export data into XML file using DdlUtils, if
> > yes,
> > > how?
> >
> > Yep, with the writeDataToFile sub task of the DatabaseToDdlTask task
> > (http://db.apache.org/ddlutils/ant-tasks.html#Subtask%3A+writeDataToFile
> > )
>
>
>
> How can I use it in java program?
>
> >
>
>
>
>
> --
> --------------
> Cheers,
> Jun




--
--------------
Cheers,
Jun

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