Re: Statement setNull for Types.CLOB

Поиск
Список
Период
Сортировка
От Kevin Murphy
Тема Re: Statement setNull for Types.CLOB
Дата
Msg-id 42BC78AB.6080808@genome.chop.edu
обсуждение исходный текст
Ответ на Statement setNull for Types.CLOB  ("Matt Magoffin" <postgresql.org@msqr.us>)
Список pgsql-jdbc
On Fri, 18 Feb 2005, Kris Jurka wrote:
 > On Fri, 18 Feb 2005, Matt Magoffin wrote:
 >> Hibernate calls setNull() passing
 >> the Types.CLOB as the SQL type. The Postgres driver is throwing an
 >> exception, however, saying that type is unknown.
 >
 > I've fixed the setNull call to do something,
 > but again CLOB really maps to the oid datatype in pg, not text.

I just encountered the same problem with setObject in
postgresql-8.0-311.jdbc3.jar, btw.

I don't understand the bit about oid, so I guess I will use
Types.VARCHAR unless instructed otherwise.

-Kevin Murphy


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Which version of driver to use ?
Следующее
От: Andres Olarte
Дата:
Сообщение: Problem with Async (multiple) notifications