db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject Re: base classes using object wrappers instead of primitives?
Date Tue, 24 Dec 2002 19:28:28 GMT
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


Mime
View raw message