Thank you. I was using the version of commons-betwixt listed in the pom.xml which was 0.7. I changed it to 0.8-dev to match the version of commons-betwixt.jar in the lib directory and everything started working. I filed an issue DDLUTILS-103 to update the pom.xml.
On 4/25/06, Thomas Dudziak <[EMAIL PROTECTED]> wrote: > On 4/24/06, Ken Weiner <[EMAIL PROTECTED]> wrote: > > I am trying to set a column as unique, but when I add a <unique> > > element to <table>, the element gets added as if it were a column, and > > I get the following error: > > > > org.apache.ddlutils.model.ModelException: The column nr. 8 in table > > users has no type > > at org.apache.ddlutils.model.Database.initialize(Database.java:301) > > at org.apache.ddlutils.io.DatabaseIO.read(DatabaseIO.java:207) > > .... > > This error was posted before on this mailing list. The solution back > then, I think, was to update to the newest version of DdlUtils (esp. > the commons-betwixt library that DdlUtils uses). You should perhaps > also add the DTD reference: > > <?xml version="1.0"?> > <!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database.dtd"> > > and see if that works. > > Tom >
