You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/05/25 21:58:08 UTC
[Bug 56535] JDBC Sampler: Response wrong if DB-Field is of type
"tinyint"
https://issues.apache.org/bugzilla/show_bug.cgi?id=56535
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Hardware|PC |All
Resolution|--- |WORKSFORME
OS| |All
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
this is not a bug in JMeter but the way MySql driver works:
http://dev.mysql.com/doc/refman/5.0/es/connector-j-reference-type-conversions.html
Read MySQL Types to Java Types for ResultSet.getObject(). :
BIT(1) (new in MySQL-5.0) BIT java.lang.Boolean
BIT( > 1) (new in MySQL-5.0) BIT byte[]
TINYINT TINYINT java.lang.Boolean if the configuration property
tinyInt1isBit is set to true (the default) and the storage size is 1, or
java.lang.Integer if not.
BOOL, BOOLEAN TINYINT See TINYINT, above as these are aliases for
TINYINT(1), currently.
--
You are receiving this mail because:
You are the assignee for the bug.