| Author |
not able to connect to oracle DB
|
rk sharma
Ranch Hand
Joined: Jun 25, 2011
Posts: 50
|
|
the error is wel known ClassCastException"
1.i attached the corresponding jar file ojdbc14.jar
2.no other errors, this is one particular program
|
Regards,
RK
|
 |
Philip Grove
Ranch Hand
Joined: Aug 18, 2009
Posts: 68
|
|
I cannot see any reason for a ClassCastException, please post the complete stack trace so we can see what happens.
BTW: Catching Exception is generally a bad idea as you might hide useful information
|
 |
 |
|
|
subject: not able to connect to oracle DB
|
|
|