db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: Anybody familiar with torque om templates here ?
Date Tue, 27 Jan 2004 16:29:01 GMT
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" <loic.queran@gicm.fr>
To: "Apache Torque Users List" <torque-user@db.apache.org>
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" <loic.queran@gicm.fr>
> >To: "Apache Torque Users List" <torque-user@db.apache.org>
> >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: torque-user-unsubscribe@db.apache.org
> >>For additional commands, e-mail: torque-user-help@db.apache.org
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> >For additional commands, e-mail: torque-user-help@db.apache.org
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message