On Mon, 16 Dec 2002 12:31, you wrote: > I tried with defaultJavaType="object". > It works except for type tinyint. Torque generates things like Byte > xx = new Byte(0); which does not work as Byte doesn't have a > constructor for int. These columns need to be specified as > javaType="primitive", e.g. <column name="GLOBAL_AVAILABILITY" > type="TINYINT" size="1" default="0" javaType="primitive"/> > > I use mysql which has no support for boolean, so I simulate this > using tinyint 1. > It would be cool if Torque would allow a mapping to boolean.
Hi Marc, See this post: http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=2162 If this fixes your problem, could you submit a patch to Scarab? Thanks, -- Rodney -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
