db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: Java Primitive Data Types in Torque
Date Wed, 05 Feb 2003 20:06:55 GMT
On 6/02/2003 6:52 AM, "Campbell, Justin" <jcampbell@profilesys.com> wrote:

> We are having an issue here getting Torque to generate our object
> model using object data types rather than primitive data types (e.g. Integer
> rather than int). This is essential functionality for us as types like int
> can not be null (instead, they are defaulted to 0 in the absence of a
> value). I feel confident that this feature exists (given comments and such
> that I've seen), but have been unable to locate a feature that allows this
> easily. Can anyone help us out?

Try javaType="object" for the relevant columns in your schema.


Scott Eade
Backstage Technologies Pty. Ltd.
.Mac Chat/AIM: seade at mac dot com

View raw message