| От | Thomas Kellerer |
|---|---|
| Тема | Re: Inserting into a uuid column |
| Дата | |
| Msg-id | golbl5$aj4$1@ger.gmane.org обсуждение исходный текст |
| Ответ на | Re: Inserting into a uuid column (Kris Jurka <books@ejurka.com>) |
| Список | pgsql-jdbc |
Hi Kris, thanks for your answers. I can change the import to use setObject(int, Object, int) which works fine. > The reason the driver doesn't do this is twofold. > > 1) The driver doesn't know the target server type. Retrieving that > would induce an extra network roundtrip for execution. > > 2) Sometimes the server doesn't know the the target type and it's better > for the driver/user to provide it. Consider the call of an overloaded > function: SELECT myfunc(?), if it has an implementation for both float > and int, you want the user/driver to indicate which one should be called > because the server doesn't know. I can see the problems there ;) Regards Thomas
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера