db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreou Andreas <andy...@di.uoa.gr>
Subject Re: Replacement of Objects with Primitive Types
Date Thu, 17 Apr 2003 13:13:45 GMT
Atkinson, Peter wrote:

>Does anyone know if it possible to configure Torque to generate java
>primitive types on the BaseTableXXXX classes. 
I guess this list is not the correct one for this question...

>E.g. use int instead of java.math.BigInteger and double instead of Double
But anyway :), in your schema.xml file use:
<database ... defaultJavaType="primitive">

instead of defaultJavaType="object"

View raw message