Hello,
thank you for the hint. This bug will be fixed in the next version of the
JDBC-driver. Maybe I can offer a patch next week.

Regards,
Marco

-----Original Message-----
From: Patrick Buchinger [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 1. M�rz 2002 16:48
To: SapDB Maillisting
Subject: JDBC: ResultSetMetaData.getTableName() returns empty String


Because the SapDB JDBC driver does not yet implement the javax.sql
package, i search for an open source implementation of the
javax.sql.RowSet. For anyone who is interested, i found an
implementation on http://sourceforge.net/projects/jxutil/

While testing this RowSet, i found out that
ResultSetMetaData.getTableName(int) _allways_ returns an empty String!
So i took a look at the sources of JDBC-Driver version 7.3.00.20 and
found the following method in
com.sap.dbtech.jdbc.translators.DBTechTranslator (which is used by
ResultSetMetaDataSapDB):

----- snipp ------
public String getTableName()
{
  return "";
}
----- snipp ------


will this behaviour be fixed in the near future? it makes the use of
RowSet not possible...

thank you,

-- 
Patrick Buchinger

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to