rs.getMetaData.getTableName always return empty string

Поиск
Список
Период
Сортировка
От nowind_lee
Тема rs.getMetaData.getTableName always return empty string
Дата
Msg-id tencent_355846A85F1763A159FB8792@qq.com
обсуждение исходный текст
Список pgsql-bugs
I've read some discussions before I write this post. I know that "rs.getMetaData.getTableName" always return empty string just because the developers think it should be alias name in the query, not the underlying table name, which is hard to implement, so it's best to leave it blank.

And also there is a "PGResultSetMetaData.getBaseTableName()" can be used to get the table name.

I understand this, but it make something very hard. Please see my question:


From the implementation of play's anorm framework, we know that most of other jdbc drivers all return the underlying table name in "rs.getMetaData.getTableName". It make the parse of result set of "join" query easily.

Since all other drivers have the same action, will postgresql driver do it too? I think return the underlying table name is much more useful than an empty string.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: felix.gerzaguet@gmail.com
Дата:
Сообщение: BUG #6452: psql: can't change client encoding from the command line
Следующее
От: "nowind_lee"
Дата:
Сообщение: rs.getMetaData.getTableName always return empty string