Bug #5614 | New connector retrieve incorrect "tinyint" field type in JRun4/ColdFusion | ||
---|---|---|---|
Submitted: | 16 Sep 2004 18:43 | Modified: | 21 Dec 2004 0:17 |
Reporter: | Claude Morin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 3.0.15-ga and 3.1.4-beta | OS: | Any (any) |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[16 Sep 2004 18:43]
Claude Morin
[16 Sep 2004 19:34]
Mark Matthews
This regression is because we need to be able to detect a 'boolean' type, which the MySQL server silently converts to 'TINYINT(1)' in order to be JDBC-compliant. We will in the next version offer the ability to turn this detection off, however your only workaround currently is to not use TINYINT(1) fields.
[17 Sep 2004 21:31]
Claude Morin
Thank you so much Mark! Boy, you are fast to answer! I converted all my tinyint(1) fields into tinyint(2) fields and everything now works as it should. Claude
[21 Dec 2004 0:17]
Mark Matthews
See the connection property 'tinyint1IsBit'.