Re: how to set a PreparedStatement column of XML type in 8.3?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: how to set a PreparedStatement column of XML type in 8.3?
Дата
Msg-id Pine.BSO.4.64.0712121855050.17882@leary.csoft.net
обсуждение исходный текст
Ответ на Re: how to set a PreparedStatement column of XML type in 8.3?  ("Matt Magoffin" <postgresql.org@msqr.us>)
Ответы Re: how to set a PreparedStatement column of XML type in 8.3?  ("Matt Magoffin" <postgresql.org@msqr.us>)
Список pgsql-jdbc

On Thu, 13 Dec 2007, Matt Magoffin wrote:

> I am able to work around the issue by setting a PGObject value with the
> type set to "xml" and the value my XML String. Is this the way the driver
> is expected to work, or should it map Strings to the xml type
> automatically in 8.3?
>

Expected?  Should?  The driver should implment SQLXML, but since that
hasn't happened yet, it's expected that the only way to deal with it is
via Strings.  You can get around your original complaint via the
stringtype=unspecified URL parameter so you don't have to go through
PGobject, but long term we should use SQLXML.

Kris Jurka


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

Предыдущее
От: "Matt Magoffin"
Дата:
Сообщение: Re: how to set a PreparedStatement column of XML type in 8.3?
Следующее
От: "Matt Magoffin"
Дата:
Сообщение: Re: how to set a PreparedStatement column of XML type in 8.3?