Author Message
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

I have problem that we could not get Date value from Oracle TimeStamp. But we got this oracle.sql.TIMESTAMP@826a5f instead.

How can get the correct Date from Timestamp value?

Please give us any suggestion.

Oracle 11g R2

Best Regards,
Chukiat D.
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
How did you go about getting it?
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

I got this value using Database of AAOD and print out this value by trace output from query db.
What is wrong on getting value date from type Timestamp?

Please advice.

Chukiat D.
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
What does your SQL query look like?
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

I don't mean query. But i mean the result of query tyat get from DB is oracle.sql.timestamp@826a5f.
It is very strange. So i need advice on this
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
That's what I'm asking for. Can you show me the SQL code that is sent to Oracle to retrieve the date/time stamp? Do you have a log? It should show what was sent and returned.
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

Thank you for reply.

It is problem of jdbc oracle jar file that cannot cast stampstime .

No i can fixed by add new jdbc oracle.

Chukiat D.
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
Can you show me the complete log for your app? I'm not completely following all that you are saying. The log should help make it clear.
Go to:   
Mobile view