can't parse "f" - Mailing list pgsql-jdbc

From Skidmore, Walt
Subject can't parse "f"
Date
Msg-id 965AEE931EB1D411BB0B00B0D0207AB90E1A3A@EXCH01
Whole thread Raw
Responses Re: can't parse "f"
List 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(JOnASMDXProviderBean.java:366)
        at medinex.server.entitybean.JOnASMDXProviderHome.create(JOnASMDXProviderHome.java:147)
        at medinex.server.entitybean.JOnASMDXProviderHome_Skel.dispatch(JOnASMDXProviderHome_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:643)
        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
___________________________________________________________

pgsql-jdbc by date:

Previous
From: "Dax Duskin"
Date:
Subject: ...
Next
From: Adam Haberlach
Date:
Subject: Re: can't parse "f"