You will need to get into the Velocity templates Torque uses to build the Peer and Map source:
$TORQUE_HOME/templates/om I would make copies of the relevant templates, rename them, then make your mods. After that, you will need to change the what templates "ant init" uses to build the source. To do this you need copy, rename and alter $TORQUE_HOME/templates/om/Control.vm to look at your templates instead of the default ones. Finally, change "OMControlTemplate = om/Control.vm" in build.properties to equal the name of your custom Control template. I've never done this, but from looking over the way Torque works this should do the trick. Let me know if I was totally wrong ;o) Scott -----Original Message----- From: Patrick Tonidandel [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 10:28 AM To: Turbine-User Subject: Getting Null values from DB in Torque Hi there, I have columns in my Sybase-DB that contain NULL values, and I have to get them out. The relative column-types are int and byte. Torque transforms this NULL's in zero. As I can see from other mailings in turbine-dev-list till now there is no solution to this problem. At this point, I would like to change the mapping of this columns from native-type to object-type (Example from int to Integer and from byte to Byte). Where have I got to do this modifications? Any help is very appreciated. Regards Patrick Tonidandel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
