db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Kriger" <andy.kri...@verizon.net>
Subject RE: base classes using object wrappers instead of primitives?
Date Wed, 25 Dec 2002 14:53:34 GMT
Is there a way to get the jdbc task to set this up for me? Or do I have to
post-process the schema file?

-----Original Message-----
From: Eric Emminger [mailto:eric@ericemminger.com]
Sent: Tuesday, 24 December, 2002 14:28
To: Turbine Torque Users List
Subject: Re: base classes using object wrappers instead of primitives?


Andy

> How hard would it be for me to modify Torque to get it to generate base
> classes that use object wrappers instead of primitives (e.g. Integer
instead
> of int)?

In your database schema, use javaType="object" in the column element.
Note that both primary and foreign keys will need this property.

Merry Christmas!

Eric

--
Eric Emminger
eric@ericemminger.com


--
To unsubscribe, e-mail:
<mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-torque-user-help@jakarta.apache.org>


Mime
View raw message