| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #571: Impossible to completly support JDBC |
| Дата | |
| Msg-id | 200202031924.g13JO6o23388@postgresql.org обсуждение исходный текст |
| Список | pgsql-bugs |
Tiago Antao (tiagoantao@yahoo.com) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description Impossible to completly support JDBC Long Description This is in fact to report 2 problems regarding JDBC. #1: JDBC DatabaseMetaData.getImportedKeys returns a null because it was not implemented. I think the correct behaviour wouldbe to raise a SQLException. If there is an agreement on this, I would gladly implement the (simple) solution. #2: This is much more serious: It is impossible, AFAIK, to get foreign key information from the metadata tables pg_* on PostgreSQL.As I understand the fkeys are implemented via triggers... but it would be interesting that fk info would be madeavailable as metadata. Without this I believe it is _impossible_ to have a fully compliant JDBC driver. Sample Code No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера