5 messages in com.mysql.lists.javaMM MySQL JDBC driver question
FromSent OnAttachments
Greg Zymbaluk18 Jun 1999 13:34 
Christian Mack20 Jun 1999 14:05 
Greg Zymbaluk21 Jun 1999 09:11 
Christian Mack15 Jul 1999 11:09 
Mark Matthews15 Jul 1999 11:49 
Subject:MM MySQL JDBC driver question
From:Greg Zymbaluk (gzym@dmwgroup.com)
Date:06/18/1999 01:34:23 PM
List:com.mysql.lists.java

Hi,

I'm using the MM JDBC driver to access a MySQL databases. I have a table that has a field with a type of LONGTEXT. when I do a 'select * from my_table' query, the data returned in the resultSet for that field is not the text from that field. Instead it returns something like: [B@80d39a0 which appears to me to be some kind of pointer to where the actual data is stored. When I do the same query through the MySQL client it works fine, returning the correct data for the LONGTEXT field, it's only when I run the query through JDBC that I get the weird data.

Does anyone have an idea of why this is happening and how I can fix it?

Thanks,

Greg Z.