Re: domains handling problem
От
Kris Jurka
Тема
Re: domains handling problem
Дата
Msg-id
alpine.BSO.2.00.1103192100090.28447@leary.csoft.net
Ответ на
domains handling problem (Віталій Тимчишин)
Список
Дерево обсуждения
domains handling problem Віталій Тимчишин <tivv00@gmail.com>
Re: domains handling problem Kris Jurka <books@ejurka.com>
Re: domains handling problem Vitalii Tymchyshyn <tivv00@gmail.com>
On Tue, 22 Feb 2011, ??????? ???????? wrote: > Today I've got next exception on postgresql 9..0-801 jdbc4 driver: > Caused by: org.postgresql.util.PSQLException: Unsupported Types value: 2,001 > atorg.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statemen > t.java:1745) > > After looking a little deeper I've foudn out that driver report domain type > as Types.DISTINCT, but does not accept it in setObject call. And spring > library uses metadata to fill default SQL types to be sent to driver. I did > a workaround by hard-wiring Types.OTHER, but I suppose this to be driver bug > as driver should accept any sql type it provides from metadata. > I concur. Fixed in CVS for 8.2+. Kris Jurka
В списке pgsql-jdbc по дате отправления
От: Kris Jurka
Дата: