[Opensource] [Opensource]
Michael Rimov
rimovm at centercomp.com
Tue Jul 9 21:40:35 PDT 2002
At 10:56 AM 7/9/2002 +0200, you wrote:
>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" ?
The field type string SHOULD be varchar.... there's something going on with
the lookup... I'll see if I can reproduce it with the code in CVS.
-Mike
More information about the Opensource
mailing list