using Date and setObject() - Mailing list pgsql-jdbc

From Leandro Rodrigo Saad Cruz
Subject using Date and setObject()
Date
Msg-id 1019066023.493.97.camel@ns2
Whole thread Raw
Responses Re: using Date and setObject()
List pgsql-jdbc
Hi all, I'm working an a persistence layer API above JDBC
that uses setObject() in prepare statements. the problem is :
I get a ClassCastException when using setObject(java.util.Date).
Can I use setObject(java.util.Date) or I **must** use
setDate(java.util.Date) ??

--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: Meaningful Exception handling
Next
From: "Joe Shevland"
Date:
Subject: Re: BLOB performance test FYI