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 14:52:38 GMT
my version is 3.1

..and actually i have a progress i suppose..

I realized that if a primary key is javaType="object"
then all the referencing to this primary key columns (in other tables) must
be also javaType="object"
(i am not sure that it is described in the docs)

regards,
bogdan

----- Original Message -----
From: "Martin Poeschl" <mpoeschl@marmot.at>
To: "Apache Torque Users List" <torque-user@db.apache.org>
Sent: Tuesday, January 27, 2004 16:02
Subject: Re: Anybody familiar with torque om templates here ?


version number?

Bogdan Vatkov wrote:

>The problem is that I am using javaType="object"
>in the column tag but the resulting generated java source
>expects int inspite of Integer
>in 2-3 places in the BaseXYZ files
>
>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


Mime
View raw message