Re: Integer fields - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Integer fields
Date
Msg-id Pine.BSO.4.56.0409231349480.5455@leary.csoft.net
Whole thread Raw
In response to Integer fields  ("Waldomiro" <wmiro@ig.com.br>)
List pgsql-jdbc

On Thu, 23 Sep 2004, Waldomiro wrote:

> Hi,
>
> In my java application when an user leave some integers field empty, it
> is saved without any digit like this --> ''
>
> In postgres 7.2 it is working, but in 7.4 it doesn't

In 7.2 '' was treated as 0, but starting with the 7.3 release this is
recognized as an invalid integer value.  The bottom line is to fix your
code.

Kris Jurka

pgsql-jdbc by date:

Previous
From: "David Parker"
Date:
Subject: "out" parameters in CallableStatements
Next
From: Kris Jurka
Date:
Subject: Re: JDBC DRIVER FOR HANDHELDS