| От | Oliver Jowett |
|---|---|
| Тема | Re: BIGINT <-> java.lang.String auto cast |
| Дата | |
| Msg-id | 42955D8A.4090303@opencloud.com обсуждение исходный текст |
| Ответ на | Re: BIGINT <-> java.lang.String auto cast ("Sergey A. Sokolov" <abac@xtech.ru>) |
| Список | pgsql-jdbc |
Sergey A. Sokolov wrote: > I think there must be support for String as input and output parameters for > the most of Postgres datatypes (numeric, date,..). Just my humble opinion. You need to talk to the backend developers; this is just the way that the backend's default implicit casts are set up. The driver change is that we are actually passing the type information provided at the JDBC level (e.g. "This parameter is a Java long because I called setLong()") down to the backend, rather than going via a stringizing step which loses that information. Why would you want to throw this type information away? BTW, my reading of the JDBC spec says nothing about implicit type conversion on setString being required. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера