Java mysql show table status

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 400PM

    #1

    Java mysql show table status

    Hi,

    I am using java to retrieve a resultset with "show table status" mysql
    command. I am having problem reading the [name] and [engine] column.
    In the metadata object it is showing as VARCHAR but when I do
    getString() it is returning me the object string (e.g. "[B@1e3e7d2")and
    not the actual database value. I am using Mysql 4.1 and jdbc driver
    3.1. I tried getB/Clob, getBytes, getCharacterStr eam() and none of
    them is working. Any assistance will be appreciated.

    thank you in advance.....

Working...