Look like you're on 10g. Have you tried casting it?
Yes this is in 10g.
I have tried typecasting but no result.
However this issue is resolved as I tried a bit ciruclar process
I have retreived the value from DB in String format by using to_char in the query and then I converted the String in to Java.Date