the easy part is to start with changing the constants in o.a.torque.engine.database.model.TypeMap. This might lead to some changes needed in torque's src/templates/om/Object.vm and Peer.vm. Finally you will need to update com.workingdogs.village.Value (village api is documented at share.whichever.com) to return object types (in addition to the primitive types it now returns.) There will probably be a few other classes that need changed in village due to such a change, but i am not sure. Jon probably will not accept changes to village's api, so you probably would want to check with him, before embarking on such a path. An alternative is to fix BasePeer to not use village, though preferrably still use the prepared statements that are one benefit village provides.
john mcnally Patrick Tonidandel wrote: > > 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]>
