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

From: the6campbells <the6campbells(at)gmail(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Date: 2012-11-12 18:00:36
Message-ID: CAFEjsq58_wxLJK7dSEWa+ExjFmrRuwypvJ6qUGXarScEDjvT2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-11-12 18:09:33 Re: does the JDBC driver offer a similar property to the ODBC Text As LongVarchar?
Previous Message dmp 2012-11-09 16:54:02 JDBC Source Builds