can't parse "f"

From: "Skidmore, Walt" <walt(dot)skidmore(at)medinex(dot)com>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: can't parse "f"
Date: 2001-03-08 17:40:44
Message-ID: 965AEE931EB1D411BB0B00B0D0207AB90E1A3A@EXCH01
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Does anybody know why I might be getting the following error?

----------------------------------------------------------------------------
--------
java.sql.SQLException: ERROR: pg_atoi: error in "f": can't parse "f"
at org.postgresql.Connection.ExecSQL(Connection.java:393)
at org.postgresql.jdbc2.Statement.execute(Statement.java:273)
at org.postgresql.jdbc2.Statement.executeUpdate(Statement.java:73)
at
org.postgresql.jdbc2.PreparedStatement.executeUpdate(PreparedStatement.java:
126)
at
medinex.server.entitybean.JOnASMDXProviderBean.ejbCreate(JOnASMDXProviderBea
n.java:366)
at
medinex.server.entitybean.JOnASMDXProviderHome.create(JOnASMDXProviderHome.j
ava:147)
at
medinex.server.entitybean.JOnASMDXProviderHome_Skel.dispatch(JOnASMDXProvide
rHome_Skel.java:71)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:319)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:187)
at sun.rmi.transport.Transport$1.run(Transport.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
43)
at java.lang.Thread.run(Thread.java:484)
----------------------------------------------------------------------------
------------
I looked in the offending code (which is generated by JOnAS
<http://www.objectweb.org/jonas>), and it's using the setBoolean method to
try to set a boolean. I am using the bool data type in the table.
According to the documentation, the bool type accepts 'f'.

Any suggestions?
___________________________________________________________
Walt Skidmore
Java Developer
888-580-1010 x139
___________________________________________________________

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Adam Haberlach 2001-03-08 18:15:11 Re: can't parse "f"
Previous Message Dax Duskin 2001-03-08 17:09:06