From: Jonathan Vallar <jonathan.vallar@gmail.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bad Value for Data Type Timestamp
Date: Wed, 1 Mar 2006 16:18:32 +0800
Message-ID: <6c1017c20603010018r1ff35featfddc9b1443b2026@mail.gmail.com> (raw)
In-Reply-To: <44055174.9030701@opencloud.com>
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>
:) 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 =
timestamp : [C@56c55d28 Exception: java.lang.NumberFormatException: =
Expected time to be colon-separated, got ' Stack Trace: =
java.lang.NumberFormatException: Expected time to be colon-separated, =
got ' at =
org.postgresql.jdbc2.TimestampUtils.loadCalendar(TimestampUtils.java:151)=
at =
org.postgresql.jdbc2.TimestampUtils.toTimestamp(TimestampUtils.java:307) =
at =
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2Res=
ultSet.java:419) at =
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTimestamp(AbstractJdbc2Res=
ultSet.java:2088) at =
com.crossworlds.connectors.JDBC.JDBCBOhandler.doContainerRetrieve(JDBCBOh=
andler.java:3697) at =
com.crossworlds.connectors.JDBC.JDBCBOhandler.doRecursiveRetrieve(JDBCBOh=
andler.java:3316) at =
com.crossworlds.connectors.JDBC.JDBCBOhandler.doRetrieve(JDBCBOhandler.ja=
va:3265) at =
com.crossworlds.connectors.JDBC.JDBCBOhandler.doVerbFor(JDBCBOhandler.jav=
a:1346) at =
com.crossworlds.cwconnectorapi.CWConnectorBOHandler.doVerbFor(CWConnector=
BOHandler.java:127) at =
CxCommon.BusinessObject.doVerbFor(BusinessObject.java:2128) at =
com.crossworlds.cwconnectorapi.CWConnectorBusObj.doVerbFor(CWConnectorBus=
Obj.java:126) at =
com.crossworlds.connectors.JDBC.JDBCConnectorAgent.pollForEvents(JDBCConn=
ectorAgent.java:1137) at =
AppSide_Connector.BusObjJavaInterface.poll(BusObjJavaInterface.java:355) =
at AppSide_Connector.AppCalls.poll(AppCalls.java:191) at =
AppSide_Connector.AgentBusinessObjectManager.poll(AgentBusinessObjectMana=
ger.java:719) at =
AppSide_Connector.AppPolling.poll(AppPolling.java:294) at =
AppSide_Connector.AppPolling.doPollingContinuousWait(AppPolling.java:556)=
at AppSide_Connector.AppPolling.run(AppPolling.java:121) at =
java.lang.Thread.run(Thread.java:513) End of Stack Trace SQLException =
{2}]
Many thanks!
Jonathan
On 3/1/06, Oliver Jowett <oliver@opencloud.com> 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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jonathan.vallar@gmail.com, oliver@opencloud.com
Subject: Re: Bad Value for Data Type Timestamp
In-Reply-To: <6c1017c20603010018r1ff35featfddc9b1443b2026@mail.gmail.com>
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> <6c1017c20603010018r1ff35featfddc9b1443b2026@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox