RV: Bad timestamp external representation ''

From: "Katalina Marcos" <kmarcos(at)mazda(dot)com(dot)co>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: RV: Bad timestamp external representation ''
Date: 2004-04-19 15:44:41
Message-ID: 000c01c42625$3abee150$770210ac@kmarcos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi. In my earlier mail i wrote it's not null, that is wrong, the columns can
be null.

Thanks.

Kata

-----Mensaje original-----
De: Katalina Marcos [mailto:kmarcos(at)mazda(dot)com(dot)co]
Enviado el: lunes, 19 de abril de 2004 10:36
Para: 'pgsql-jdbc(at)postgresql(dot)org'
Asunto: Bad timestamp external representation ''

Hi all.

In advance, sorry for my English mistakes.

I have a problem when i try to insert a row in a PostgreSQL 7.3 with jdbc:

The table have a timestamp column without time zone and it's not null. If a
send a date, the insert is ok, but if I put
call.setNull(idxField,Types.TIMESTAMP);

I get Bad timestamp external representation ''

I tried too with call.setTimestamp(idxField,null); and I get the same error.

Somebody can help me? I tried with all the new versions in
http://jdbc.postgresql.org/download.html

Thanks a lot!

Kata

Browse pgsql-jdbc by date

  From Date Subject
Next Message James Robinson 2004-04-19 15:56:06 Prepared Statements and large where-id-in constant blocks?
Previous Message Katalina Marcos 2004-04-19 15:36:14 Bad timestamp external representation ''