Re: crystal reports varchar = string length 0 in jdbc but - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: crystal reports varchar = string length 0 in jdbc but
Date
Msg-id Pine.LNX.4.33.0402130327060.5782-100000@leary.csoft.net
Whole thread Raw
In response to Re: crystal reports varchar = string length 0 in jdbc but  (Klint Gore <kg@kgb.une.edu.au>)
List 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


pgsql-jdbc by date:

Previous
From: Klint Gore
Date:
Subject: Re: crystal reports varchar = string length 0 in jdbc but
Next
From: Bhushan Bhangale
Date:
Subject: Serial key