| От | Oliver Jowett |
|---|---|
| Тема | Re: JDBC INSERT Problem |
| Дата | |
| Msg-id | 4283F339.3090200@opencloud.com обсуждение |
| Ответ на | JDBC INSERT Problem (hiuguis@iteso.mx) |
| Ответы |
Re: JDBC INSERT Problem
|
| Список | pgsql-jdbc |
hiuguis@iteso.mx wrote: > Im new with PostgreSQL. Im migrating an SQLServer DB to PostgreSQL and Im having > some problems with insertions. The problem consist only with the SQL INSERT > function via the JDBC driver. When I try to insert some data to some table It > seems that everithing its working fine, but I cannot see the new data in the > table. Perhaps your connection pool is giving you a connection with autocommit off. Your code does not commit the transaction containing the INSERT, and presumably when you return the connection to the pool it is rolling back the uncommitted transaction. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера