Re: ResultSet.getClob() causing problems when used with JPA's @Lob

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: ResultSet.getClob() causing problems when used with JPA's @Lob
Дата
Msg-id CAB=Je-FBJgyP5xbpcBAVBc84k2YW82-T2zrYFaD-kBhoN1dFwA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ResultSet.getClob() causing problems when used with JPA's @Lob  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: ResultSet.getClob() causing problems when used with JPA's @Lob  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-jdbc
>Is there anything new here?
>This still doesn't work with 9.4.1208

Nothing new here yet.

>So we are caught between a rock and a hard place

I feel your pain.

Technically the problem is pgjdbc does not have "String -> Clob" conversion yet.

>Are there any plans for this?

I've not heard of those.

>If not, is this something that would be accepted as a patch?

I think so.
It should be possible to check the result column type and create java.sql.Clob instance that would just work off the resulting string.

Special thank would go for a patch that would add JPA -> pgjdbc kind of integration test to the regression suite.

Vladimir

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: ResultSet.getClob() causing problems when used with JPA's @Lob
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: ResultSet.getClob() causing problems when used with JPA's @Lob