[Opensource] [Opensource]
Patrice Pelletier
Patrice.Pelletier at cetim.fr
Tue Jul 9 01:56:33 PDT 2002
Hi,
I am trying to use AutoDBObject with MySQL and I just have a problem with
column type.
When setupFields is called, it gets a column type of "12" (VARCHAR in
java.sql.types) from mysql and set this value in the corresponding DBField
instance it creates.
But when the setField method of DBObject is called later on this column,
its type is compared with "varchar" wich implies an error in the SQL
statement generated.
So, what type must be stored in the "expressoFieldTypeString" member of
DBField ? Is it "12" (java.sql.types) or "varchar" ?
Thanks to everybody answers.
Patrice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20020709/75699fef/attachment-0002.htm
More information about the Opensource
mailing list