Tim
It's returning the name of the results set table itself instead of the name
of the underlying table. I'll add it to the bug list.
Regards
Peter Hearty
Lutris Technologies UK Ltd.
-----Original Message-----
From: mylist <mylist@gmx.net>
To: instantDB@enhydra.org <instantDB@enhydra.org>
Date: 02 July 2000 15:04
Subject: InstantDB: getTableName() problem
>Hello all,
>
>I'm having trouble retrieving the name of a table used in a query.
>
>For example, when I execute the query "select * from COFFEES" from a
>database named "CoffeeShop", instead of getting "COFFEES", I get
>"CoffeeShop$tmp$1" for tableName using:
>
> ResultSetMetaData m = rs.getMetaData();
> String tableName = m.getTableName(1);
>
>Any ideas?
>
>Tim
>
>---------------------------------------------------------------------------
--
>To unsubscribe from this mailing list, send email to majordomo@enhydra.org
>with the text "unsubscribe instantdb" in the body of the email.
>If you have other questions regarding this mailing list, send email to
>the list admin at owner-instantdb@enhydra.org.
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|