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