db-torque-user mailing list archives

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.
HTH,
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com