X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 328769DCC95 for ; Wed, 1 Mar 2006 04:18:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27087-08 for ; Wed, 1 Mar 2006 04:18:33 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by postgresql.org (Postfix) with ESMTP id DCE299DCC39 for ; Wed, 1 Mar 2006 04:18:30 -0400 (AST) Received: by xproxy.gmail.com with SMTP id t13so52772wxc for ; Wed, 01 Mar 2006 00:18:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=O1qSyIZTv02rQ15otNtBnoNBt0Gs/nkb/nYdxZSNxAwOgh83wa2nhSwrypf8Fkky/5L7Tqptsldt8xyettCvLNfCkbLCQpR7x7iMyGqvAOIHD0kv8gVNbdVoipG/h6CEKJ27MQiBzKo+XeVvydFSNuRwuTYloTobeU7ttcjyeKE= Received: by 10.70.29.4 with SMTP id c4mr1652105wxc; Wed, 01 Mar 2006 00:18:32 -0800 (PST) Received: by 10.70.60.14 with HTTP; Wed, 1 Mar 2006 00:18:32 -0800 (PST) Message-ID: <6c1017c20603010018r1ff35featfddc9b1443b2026@mail.gmail.com> Date: Wed, 1 Mar 2006 16:18:32 +0800 From: "Jonathan Vallar" To: "Oliver Jowett" Subject: Re: Bad Value for Data Type Timestamp Cc: pgsql-jdbc@postgresql.org In-Reply-To: <44055174.9030701@opencloud.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4568_28564308.1141201112414" References: <6c1017c20602280042i9f38cb2g17b6acf722349ef8@mail.gmail.com> <4405157C.9060109@opencloud.com> <6c1017c20602282017s4acbd2bwb19b0fed0bd41819@mail.gmail.com> <4405246C.4080800@opencloud.com> <6c1017c20602282254p3706fad2vc3cbe7f4ad81a3b4@mail.gmail.com> <44055174.9030701@opencloud.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.148 required=5 tests=[AWL=0.147, HTML_MESSAGE=0.001] X-Spam-Score: 0.148 X-Spam-Level: X-Archive-Number: 200603/5 X-Sequence-Number: 14786 ------=_Part_4568_28564308.1141201112414 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline :) Thanks :) How can I go about this error? It seems that the data on the table is correct. Below is the stacktrace of the error: Retrieve Operation failed on the BusinessObject Bad value for type =3D timestamp : [C@56c55d28 Exception: java.lang.NumberFormatException: =3D Expected time to be colon-separated, got ' Stack Trace: =3D java.lang.NumberFormatException: Expected time to be colon-separated, =3D got ' at =3D org.postgresql.jdbc2.TimestampUtils.loadCalendar(TimestampUtils.java:151)= =3D at =3D org.postgresql.jdbc2.TimestampUtils.toTimestamp(TimestampUtils.java:307) = =3D at =3D org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2Res= =3D ultSet.java:419) at =3D org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2Res= =3D ultSet.java:2088) at =3D com.crossworlds.connectors.JDBC.JDBCBOhandler.doContainerRetrieve(JDBCBOh= =3D andler.java:3697) at =3D com.crossworlds.connectors.JDBC.JDBCBOhandler.doRecursiveRetrieve(JDBCBOh= =3D andler.java:3316) at =3D com.crossworlds.connectors.JDBC.JDBCBOhandler.doRetrieve(JDBCBOhandler.ja= =3D va:3265) at =3D com.crossworlds.connectors.JDBC.JDBCBOhandler.doVerbFor(JDBCBOhandler.jav= =3D a:1346) at =3D com.crossworlds.cwconnectorapi.CWConnectorBOHandler.doVerbFor(CWConnector= =3D BOHandler.java:127) at =3D CxCommon.BusinessObject.doVerbFor(BusinessObject.java:2128) at =3D com.crossworlds.cwconnectorapi.CWConnectorBusObj.doVerbFor(CWConnectorBus= =3D Obj.java:126) at =3D com.crossworlds.connectors.JDBC.JDBCConnectorAgent.pollForEvents(JDBCConn= =3D ectorAgent.java:1137) at =3D AppSide_Connector.BusObjJavaInterface.poll(BusObjJavaInterface.java:355) = =3D at AppSide_Connector.AppCalls.poll(AppCalls.java:191) at =3D AppSide_Connector.AgentBusinessObjectManager.poll(AgentBusinessObjectMana= =3D ger.java:719) at =3D AppSide_Connector.AppPolling.poll(AppPolling.java:294) at =3D AppSide_Connector.AppPolling.doPollingContinuousWait(AppPolling.java:556)= =3D at AppSide_Connector.AppPolling.run(AppPolling.java:121) at =3D java.lang.Thread.run(Thread.java:513) End of Stack Trace SQLException = =3D {2}] Many thanks! Jonathan On 3/1/06, Oliver Jowett wrote: > > Jonathan Vallar wrote: > > Hmmm.. I do not know how to display the actual value because the java > > program is an IBM product (IBM Websphere WBI). > > My comment was not aimed at you, it was aimed at the other driver > maintainers. Pretend I didn't send the original email :) > > -O > ------=_Part_4568_28564308.1141201112414 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
:) Thanks :)
 
How can I go about this error? It seems that the data on the table is = correct.
 
Below is the stacktrace of the error:
 
Retrieve Operation failed on the BusinessObject Bad value for type =3D=
timestamp : [C@56c55d28  Exception: java.lang.NumberFormatExceptio= n: =3D
Expected time to be colon-separated, got ' Stack Trace:  =3D=
java.lang.NumberFormatException : Expected time to be colon-separated, =3D
got '  at =3D
org.pos= tgresql.jdbc2.TimestampUtils.loadCalendar(TimestampUtils.java:151)=3D
&n= bsp;  at =3D
org.postgresql.jdbc2.TimestampUtils.toTimestamp(Timest= ampUtils.java:307) =3D
  at =3D
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimesta= mp(AbstractJdbc2Res=3D
ultSet.java:419)   at =3D
org.postgr= esql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2Res=3D
ultSe= t.java:2088)   at =3D
com.crossworlds.connectors.JDBC.JDBCBOhandler.doContainerRetrieve(JDBCB= Oh=3D
andler.java:3697)   at =3D
com.crossworlds.connectors= .JDBC.JDBCBOhandler.doRecursiveRetrieve(JDBCBOh=3D
andler.java:3316)&nbs= p;  at =3D
com.crossworlds.connectors.JDBC.JDBCBOhandler.doRetrieve (JDBCBOhandler.ja=3D
va:3265)   at =3D
com.crossworlds.conn= ectors.JDBC.JDBCBOhandler.doVerbFor(JDBCBOhandler.jav=3D
a:1346) &n= bsp; at =3D
com.crossworlds.cwconnectorapi.CWConnectorBOHandler.doVerbFo= r(CWConnector=3D
BOHandler.java :127)   at =3D
CxCommon.BusinessObject.doVerbFor(BusinessObjec= t.java:2128)   at =3D
com.crossworlds.cwconnectorapi.CWConnect= orBusObj.doVerbFor(CWConnectorBus=3D
Obj.java:126)   at =3Dcom.crossworlds.connectors.JDBC.JDBCConnectorAgent.pollForEvents (JDBCConn=3D
ectorAgent.java:1137)   at =3D
AppSide_Connect= or.BusObjJavaInterface.poll(BusObjJavaInterface.java:355) =3D
  at = AppSide_Connector.AppCalls.poll(AppCalls.java:191)   at =3D
Ap= pSide_Connector.AgentBusinessObjectManager.poll(AgentBusinessObjectMana=3D
ger.java:719)   at =3D
AppSide_Connector.AppPolling.poll(A= ppPolling.java:294)   at =3D
AppSide_Connector.AppPolling.doPo= llingContinuousWait(AppPolling.java:556)=3D
   at AppSide_Conn= ector.AppPolling.run(AppPolling.java :121)   at =3D
java.lang.Thread.run(Thread.java:513)  End= of Stack Trace   SQLException =3D
{2}]

Many thanks!
 

Jonathan
 
On 3/1/06, O= liver Jowett <oliver@openclo= ud.com> wrote:
Jonathan Vallar wrote:
> H= mmm.. I do not know how to display the actual value because the java
>= ; program is an IBM product (IBM Websphere WBI).

My comment was not aimed at you, it was aimed at the other drivermaintainers. Pretend I didn't send the original email :)

-O

------=_Part_4568_28564308.1141201112414--