You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-user@db.apache.org by Thomas Dudziak <to...@gmail.com> on 2005/11/09 20:25:55 UTC

Re: while reading torque XML files. BOOLEANINT not working.

On 11/9/05, Chris Schaefer <ch...@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