Re: crystal reports varchar = string length 0 in jdbc but

From: Kris Jurka <books(at)ejurka(dot)com>
To: Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: crystal reports varchar = string length 0 in jdbc but
Date: 2004-02-13 08:36:24
Message-ID: Pine.LNX.4.33.0402130327060.5782-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 13 Feb 2004, Klint Gore wrote:

> That's why I wanted to know if anyone had a class to write out the meta
> data. Anyway I wrote my own and it turns out to be precision. The
> jdbc-odbc bridge returns the width of text fields in the precision
> property (resultSet.getMetaData().getPrecision(n)) were the postgresql
> jdbc driver returns 0.

That seems like a bug in crystal reports if it is using getPrecision, that
seems like it should only work for numbers (as it does in pg). I would
have thought it would use getColumnDisplaySize.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bhushan Bhangale 2004-02-13 17:23:03 Serial key
Previous Message Klint Gore 2004-02-13 04:48:02 Re: crystal reports varchar = string length 0 in jdbc but