Bug #17389 | group_concat returns strange values | ||
---|---|---|---|
Submitted: | 14 Feb 2006 16:50 | Modified: | 14 Feb 2006 18:11 |
Reporter: | Andre Timmer | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / J | Severity: | S4 (Feature request) |
Version: | 3.1.12 | OS: | Any (All) |
Assigned to: | CPU Architecture: | Any |
[14 Feb 2006 16:50]
Andre Timmer
[14 Feb 2006 16:52]
Andre Timmer
'[B@75d174' looks like a pointer address.
[14 Feb 2006 17:47]
Andre Timmer
Sorry, it's no a bug. The custom java code used to interpret the data uses resultSet.getString(..). This works on integers, dates etc. but when it's of type java.sql.Types.Array the pointer is returned. ==> Request The request would be to have getString on a column of type Array to return a human readable string. The same default behaviour as in the unix mysql client.
[14 Feb 2006 18:11]
Mark Matthews
This is a duplicate of BUG#16712 The server is returning metadata in some cases that causes any client (that cares about metadata) to treat the group_concat column value as a blob or (var)binary. Since the JDBC specification requires that those types map to byte[], that's what you get. (java.sql.Array has nothing to do with it).