Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Дата
Msg-id CADK3HHK2LxQemR6-+ruPBE0p6Wa28MeNf0DWJ34-gY4FHbSHpQ@mail.gmail.com
обсуждение исходный текст
Ответ на does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?  (the6campbells <the6campbells@gmail.com>)
Список pgsql-jdbc
Not that I am aware of, no.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca



On Mon, Nov 12, 2012 at 1:00 PM, the6campbells <the6campbells@gmail.com> wrote:
In the Postgres ODBC driver you can confirm Data Type Options:Text as LongVarChar = True and set Max properties for Varchar and LongVarChar.

I did not see if the JDBC driver is providing similar options in the recent 9.x drivers.

As-is, Postgres likes to describe the precision on character expressions as text 2147483647 which may make sense if the business data was to be a CLOB. But an application that is using the precision for other purposes will dislike the value. Hence, with ODBC you could change the way data was described/returned.





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

Предыдущее
От: the6campbells
Дата:
Сообщение: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?