db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: while reading torque XML files. BOOLEANINT not working.
Date Wed, 09 Nov 2005 19:25:55 GMT
On 11/9/05, Chris Schaefer <chris@bluesunrise.com> wrote:

> I've got a torque based XML schema that I'd rather use with DDLUtils.
>
> The problem is that we have some column types  BOOLEANINT
>
> When those read it I'm getting an error:
>
> Exception in thread "main" org.apache.ddlutils.model.ModelException:
> The column nr. 6 in table FOLDER has no type
>         at org.apache.ddlutils.model.Database.initialize(Database.java:286)
>
>
> Throwing this in the debugger shows that the BeanReader is coming
> back with that column set to "null."
>
> I'd love to be able to user DDLUtils,  does anyone understand what's up?

These seem to be extensions of Torque/Turbine that direct the mapping
of a boolean to use an integer database type (BOOLEANINT) or a string
type (BOOLEANCHAR).
I'll add them to the mapping file so that they are properly read in.

Tom

Mime
View raw message