does the JDBC driver offer a similar property to the ODBC Text As LongVarchar? - Mailing list pgsql-jdbc

From the6campbells
Subject does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Date
Msg-id CAFEjsq58_wxLJK7dSEWa+ExjFmrRuwypvJ6qUGXarScEDjvT2A@mail.gmail.com
Whole thread Raw
Responses Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
List pgsql-jdbc
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 by date:

Previous
From: dmp
Date:
Subject: JDBC Source Builds
Next
From: Dave Cramer
Date:
Subject: Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?