db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Belisle <torque_maill...@yahoo.ca>
Subject JDBC Conversion Problem (MySQL)
Date Mon, 23 Jun 2003 20:43:28 GMT
Hi there, 
(I'm using Mysql 4.1.0 alpha)
MySQL uses TINYINT (1) to represents the BIT type. So when I use the jdbc function of the
generator to convert the database to XML schema I get an annoying :
<column default="" name="checked" type="TINYINT"/> 
which generates a more annoying :
 * The value for the checked field
private byte checked = ;
I would be nice if the generator could convert it to boolean and give a valid default value.

Post your free ad now! Yahoo! Canada Personals

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message