Re: ResultSet.getClob() causing problems when used with JPA's @Lob
В списке pgsql-jdbc по дате отправления:
| От | Oliver Jowett |
|---|---|
| Тема | Re: ResultSet.getClob() causing problems when used with JPA's @Lob |
| Дата | |
| Msg-id | 4D513759.8010506@opencloud.com обсуждение исходный текст |
| Ответ на | Re: ResultSet.getClob() causing problems when used with JPA's @Lob (Andreas Joseph Krogh <andreak@officenet.no>) |
| Список | pgsql-jdbc |
Andreas Joseph Krogh wrote: > I hear over and over that PGs JDBC-driver wants to map CLOBs to OIDs but there really doesn't seem to be any good reasonsfor it It's mostly there for historical reasons - IIRC it dates back to the early 7.x days when you *had* to use LOs to store large data, because there was no such thing as the "text" or "bytea" type. There's really not much reason to use it in new code these days, as I said. But there's also not much reason to arbitrarily break compatibility with existing code that assumes the current behavior, just for the sake of your particular application. I think that your efforts here might be more productively directed towards improving the Hibernate postgresql implementation so that it avoids using get/setClob() entirely. Oliver
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера