Re: java.sql.BatchUpdateException

From: Kris Jurka <books(at)ejurka(dot)com>
To: Averbukh Stella <Stella(dot)Averbukh(at)arbitron(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: java.sql.BatchUpdateException
Date: 2005-12-21 21:02:42
Message-ID: Pine.BSO.4.61.0512211601080.24643@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 21 Dec 2005, Averbukh Stella wrote:

> nested exception is: java.sql.BatchUpdateException: Batch entry 0 INSERT
> INTO test_stream (id, code, start_utc, end_utc, start_local, end_local,
> tz_code, update_session) VALUES (302432-1, DOCK, 20041209100000,
> 20041209115715, 20041209040000, 20041209055715, SD, 20051221_21) was
> aborted. Call getNextException to see the cause.;
>

This error message only tells you that an error has occurred. As it
suggests, you must call getNextException to see the underlying problem.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mike Charnoky 2005-12-22 17:44:51 Driver compatibility with 7.3 server
Previous Message Averbukh Stella 2005-12-21 19:20:54 java.sql.BatchUpdateException