Re: problem with setting boolean value on AbstractJdbc1Statement - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: problem with setting boolean value on AbstractJdbc1Statement
Date
Msg-id 3F74D4FF.8030207@xythos.com
Whole thread Raw
In response to problem with setting boolean value on AbstractJdbc1Statement  ("Stuart M Easterling" <stuarte@cmu.edu>)
Responses Re: problem with setting boolean value on
List pgsql-jdbc
Stuart,

There isn't a lot of information to go on here.  Without knowing what
the values are that are being passed to the driver, it is difficult to
know what the problem might be.  A simple test case would be necessary
for me to look into this further.

When you say you are running the latest driver, what do you mean by
'latest'?  (latest = latest 7.3 build, or latest 7.4 build, or latest
cvs pull?)

thanks,
--Barry


Stuart M Easterling wrote:
> Hello,
>
> I get the following error when the JBoss EJB container attempts to set a
> BOOLEAN value on the AbstractJdbc1Statement:
>
> Unknown Types value.
>         at org.postgresql.jdbc1.AbstractJdbc1Statement.setObject
>             (AbstractJdbc1Statement.java:1423)
>         at org.postgresql.jdbc1.AbstractJdbc1Statement.setObject
>             (AbstractJdbc1Statement.java:1429)
>         at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setObject
>              (WrappedPreparedStatement.java:607)
>         at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.setParameter
>              (JDBCUtil.java:292)
>         .
>         .
>         .
>
> I'm running Postgres 7.3.2 on Red Hat (and Windows) using the latest JDBC3
> driver.
>
> Any thoughts, ideas from anyone?
>
> Thanks,
> Stuart
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>




pgsql-jdbc by date:

Previous
From: Jim Wright
Date:
Subject: Re: Tomcat - PostgreSQL - Cannot load JDBC driverclass"null"
Next
From: Paul Thomas
Date:
Subject: Re: Tomcat - PostgreSQL - Cannot load JDBC driver class "null"