Re: [PATCH] NPE in meta data getPrimaryKeys()
От | Anders Hermansen |
---|---|
Тема | Re: [PATCH] NPE in meta data getPrimaryKeys() |
Дата | |
Msg-id | 20021217170814.GA18398@online.no обсуждение исходный текст |
Ответ на | Re: [PATCH] NPE in meta data getPrimaryKeys() (Daniel Serodio <daniel@checkforte.com.br>) |
Ответы |
Re: [PATCH] NPE in meta data getPrimaryKeys()
|
Список | pgsql-jdbc |
* Daniel Serodio (daniel@checkforte.com.br) wrote: > The Javadoc for DatabaseMetaData.getPrimaryKeys(...) clearly states that > catalog may be null, but doesn't mention anything about schema or table > being null. I understand this as meaning they (schema and table) can't > be null. Maybe you have an old javadoc? In my (1.4.1) it specifies that schema can be null as well. But it does not mention that table can be null. This is probably a bug in ojb then. <quote> Parameters: catalog - a catalog name; must match the catalog name as it is stored in the database; "" retrieves those without a catalog;null means that the catalog name should not be used to narrow the search schema - a schema name; must match the schema name as it is stored in the database; "" retrieves those without a schema;null means that the schema name should not be used to narrow the search table - a table name; must match the table name as it is stored in the database </quote> Anders -- Anders Hermansen YoYo Mobile as
В списке pgsql-jdbc по дате отправления: