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

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: crystal reports varchar = string length 0 in jdbc but
Дата
Msg-id Pine.LNX.4.33.0402130327060.5782-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Re: crystal reports varchar = string length 0 in jdbc but  (Klint Gore <kg@kgb.une.edu.au>)
Список 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 по дате отправления:

Предыдущее
От: Klint Gore
Дата:
Сообщение: Re: crystal reports varchar = string length 0 in jdbc but
Следующее
От: Bhushan Bhangale
Дата:
Сообщение: Serial key