| От | patrick.balleux@gmail.com |
|---|---|
| Тема | MoveToInsertRow on a table without a primary key |
| Дата | |
| Msg-id | 1911821.1566.1331730216537.JavaMail.geo-discussion-forums@pbjv6 обсуждение исходный текст |
| Ответы |
Re: MoveToInsertRow on a table without a primary key
|
| Список | pgsql-jdbc |
Hello all, I have a table in a database that does not have a primary key. In the process of migrating data from Oracle to Postgres,I am using ResultSets to populate the Postgres tables. Basically, all is working well except for tables that do not have a primary key. When I reach the "movetoinsertrow" instructionin my code, the jdbc driver raises an exception about the missing primary key. The workaround would be to add a temporary primary key to such table, but I want to avoid that. I did the same test withHSQLDB and it works. To me, it seems like a bug. I googled around for the solution, but found nothing. Any tips?
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера