pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Floyd Shackelford <shackman@fwshackelford.com>
To: pgsql-jdbc@postgresql.org
Subject: bug report: preparedStatement.setObject(indx, "2004-August-15", java.sql.Types.DATE) generates number format exception
Date: Wed, 14 Feb 2007 12:03:28 -0700
Message-ID: <45D35D00.6020000@fwshackelford.com> (raw)



bug report:

postgresql: 8.2.0
jdbc: postgresql-8.2-504.jdbc3.jar
 
the following generates a number format exception:
  preparedStatement.setObject(indx,"2004-August-15",java.sql.Types.DATE)
 
the following works:
  preparedStatement.setObject(indx,"2004-08-15",java.sql.Types.DATE)
 
i prefer to use the former.

-- 

Soli Deo gloria,

Floyd Shackelford




view thread (2+ messages)  latest in thread

Message-ID: <45D35D00.6020000@fwshackelford.com>
Permalink:  ../45D35D00.6020000@fwshackelford.com/
Also on:    postgresql.org/message-id/45D35D00.6020000@fwshackelford.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: shackman@fwshackelford.com
  Subject: Re: bug report: preparedStatement.setObject(indx, "2004-August-15", java.sql.Types.DATE) generates number format exception
  In-Reply-To: <45D35D00.6020000@fwshackelford.com>
  References: <45D35D00.6020000@fwshackelford.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox