Unix Technical Forum

JDBC ResultSet MetaData getTableName Informix SE

This is a discussion on JDBC ResultSet MetaData getTableName Informix SE within the Informix forums, part of the Database Server Software category; --> Hi, The IBM Informix JDBC Driver 2.21.JC5 has a bug that I would like to find out if there ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 09:03 PM
Jim Miani
 
Posts: n/a
Default JDBC ResultSet MetaData getTableName Informix SE



Hi,

The IBM Informix JDBC Driver 2.21.JC5 has a bug that I would like to find
out if there is a patch for and/or has been reported. I am using it against
INFORMIX-SE. The ResultSetMetaData.getTableName() method works fine when
doing a select from one table. But if there are two or more tables in the
query, the getTableName() method returns null. Anyone else encountered this,
know if it has been reported, etc etc?

Jim

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 09:05 PM
Amit Dandekar
 
Posts: n/a
Default Re: JDBC ResultSet MetaData getTableName Informix SE

As per IBM Informix JDBC Programmers manual
http://publibfi.boulder.ibm.com/epubs/pdf/ct1utna.pdf
Page - 3-20
"
ResultSetMetaData.getTableName()
Returns the table name for SELECT, INSERT, and UPDATE statements
SELECT statements with more than one table name and all other
statements return a String object containing one blank space."

However behaviour JDBC driver
seems to be diffrent from as documented in manual.
Per documentation getTableName() should not return a null in any case.

This is a reported problem.



Jim Miani <miani@icanon.com> wrote in message news:<bv67si$k1k$1@terabinaries.xmission.com>...
> Hi,
>
> The IBM Informix JDBC Driver 2.21.JC5 has a bug that I would like to find
> out if there is a patch for and/or has been reported. I am using it against
> INFORMIX-SE. The ResultSetMetaData.getTableName() method works fine when
> doing a select from one table. But if there are two or more tables in the
> query, the getTableName() method returns null. Anyone else encountered this,
> know if it has been reported, etc etc?
>
> Jim
>
> sending to informix-list

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com