I think in the normal case when defaultJavaType="object" is used
and no overriding javaType="primitive" is situated in the <column> tags
everything should be fine.
But since i have used devaki-nextobjects (www.devaki.org)
to design my xml schema, it saved javaType="primitive" in all of the column
tags ..that was my problem i suppose..
i have fixed it now and it generates shiny sources :)

bogdan

----- Original Message -----
From: "Lo�c QUERAN" <[EMAIL PROTECTED]>
To: "Apache Torque Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 17:07
Subject: Re: Anybody familiar with torque om templates here ?


> Most probably, Martin Poeschl is right about the version issue. I use
> defaultJavaType="object"  and there are no compilation errors (although
> many getMapBuilder deprecation warnings). I use torque-gen-3.1.jar.
>
> Where can Village source be found ?
>
> Lo�c
>
> Bogdan Vatkov wrote:
>
> >I have tried both javaType and defaultJavaType
> >but still generation is full of compile errors..
> >
> >i am 80% sure that this is a template issue, but i still
> >want your opinion before taking in deep into the templates..
> >
> >bogdan
> >----- Original Message -----
> >From: "Lo�c QUERAN" <[EMAIL PROTECTED]>
> >To: "Apache Torque Users List" <[EMAIL PROTECTED]>
> >Sent: Tuesday, January 27, 2004 15:03
> >Subject: Re: Anybody familiar with torque om templates here ?
> >
> >
> >>If the problem is that "int" can't be null and so can't be an optional
> >>foreign key, see defaultJavaType or javaType attribute in the database
> >>schema dtd.
> >>
> >>Lo�c
> >>
> >>Bogdan Vatkov wrote:
> >>
> >>>Hi, Is there anyone here reading the forum that can explain the
> >>>torque - templates - generation issues about the object type integers
> >>>
> >used for primary key?
> >
> >>>With best regards,
> >>>Bogdan
> >>>
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to