Re: Efficient Insert statement for one record into multiple

Поиск
Список
Период
Сортировка
От Peter Neu
Тема Re: Efficient Insert statement for one record into multiple
Дата
Msg-id 00f201c72357$0ba220d0$bcc8a8c0@PCMELZER
обсуждение исходный текст
Ответ на Re: Efficient Insert statement for one record into multiple  (Roland Walter <roland.walter.rwa@gmx.net>)
Ответы Re: Efficient Insert statement for one record into multiple  (Markus Schaber <schabi@logix-tt.com>)
Re: Efficient Insert statement for one record into multiple  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Hello,

the insertion within the same connection objects works just fine. ;o)
One thing which still keeps me thinking is how should I handle duplicate
key exceptions when it happens in the first insert? Should I just close
the connection object in the catch clause when this happens in the first
statement so the second statement hits an AlreadyClosedConnectionException?

Cheers,
Pete



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

Предыдущее
От: "Edoardo Ceccarelli"
Дата:
Сообщение: Re: [ADMIN] pg_clog
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: Efficient Insert statement for one record into multiple