Re: Float in java, come in Postgres?

From: Giorgio Valoti <giorgio_v(at)mac(dot)com>
To: pgsql-it-generale(at)postgresql(dot)org
Subject: Re: Float in java, come in Postgres?
Date: 2008-06-29 09:33:07
Message-ID: 4305C621-FB95-4D45-B6CB-45827C1DB7F7@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-it-generale


On 23/giu/08, at 17:48, Stefano Tranquillini wrote:

> Salve,
> ho la necessità di salvare un float da java nel db e di ritirarlo
> su. Il tutto viene fatto attraverso ibatis.
> il problema è: che tipo di dato devo settare in Postgres? mi da
> sempre errore in fase di select. in fase di insert inserisce NULL.
> qualcuno sa aiutarmi?

No, sono anni che non lavoro in java, ma ci provo lo stesso ;-) Che
errore ti dà in select? Per l’insert sospetto che sia un problema di
ibatis, forse nella generazione dell’sql? Altrimenti non vedo da dove
possa arrivare il NULL…

--
Giorgio Valoti

In response to

Browse pgsql-it-generale by date

  From Date Subject
Next Message rotellaro 2008-06-30 15:14:29 == Postgres Weekly News - 29 giugno 2008 ==
Previous Message rotellaro 2008-06-24 14:31:08 == Postgres Weekly News - 22 giugno 2008 ==