Re: Using BigInteger as argument to AbstractJdbc2Statement.setObject
В списке pgsql-jdbc по дате отправления:
| От | Oliver Jowett |
|---|---|
| Тема | Re: Using BigInteger as argument to AbstractJdbc2Statement.setObject |
| Дата | |
| Msg-id | 4A79694F.9060404@opencloud.com обсуждение исходный текст |
| Ответ на | Using BigInteger as argument to AbstractJdbc2Statement.setObject (Sylvain Leroux <sl20@wanadoo.fr>) |
| Ответы |
Re: Using BigInteger as argument to AbstractJdbc2Statement.setObject
|
| Список | pgsql-jdbc |
Sylvain Leroux wrote: > Moreover other scripting languages for the Java platform may exhibit the > same behavior. So, it would be great if we have support for passing > BigInteger as argument to the setObject method in prepared statements. > Even if it's not required by the JDBC API. > > Best of all, the patch is trivial as you will see: I send the result of > a ``cvs diff -u8pN'' as an attachment. Why NUMERIC instead of an integer type? Might as well make setBigInteger() private if you're not also going to expose it on PGStatement (I don't think it needs to be exposed there) Incidentally, the JDBC spec does provide a standard mapping from BigDecimal (not BigInteger) to NUMERIC. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера