Java & MySQL show table status command
From: 400PM (send2kb_at_yahoo.com)
Date: 02/17/05
- Next message: Mark Matthews: "Re: Java & MySQL show table status command"
- Previous message: Dom: "Error returning REF CURSOR"
- Next in thread: Mark Matthews: "Re: Java & MySQL show table status command"
- Reply: Mark Matthews: "Re: Java & MySQL show table status command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Feb 2005 14:16:43 -0800
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, getCharacterStream() and none of
them is working. Any assistance will be appreciated.
thank you in advance.....
- Next message: Mark Matthews: "Re: Java & MySQL show table status command"
- Previous message: Dom: "Error returning REF CURSOR"
- Next in thread: Mark Matthews: "Re: Java & MySQL show table status command"
- Reply: Mark Matthews: "Re: Java & MySQL show table status command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|