This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes ClassCastException in Weblogic 5.1 while using OracleCallableStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ClassCastException in Weblogic 5.1 while using OracleCallableStatement" Watch "ClassCastException in Weblogic 5.1 while using OracleCallableStatement" New topic
Author

ClassCastException in Weblogic 5.1 while using OracleCallableStatement

Arvind Sampath
Ranch Hand

Joined: May 11, 2005
Posts: 144
I am using Weblogic 5.1 server and the server creates a connection pool during start up. It was all fine until i decided to pass Arrays to my Oracle Stored Procedures. That required using OracleCallableStatement(in oracle.jdbc.driver).



Am getting a ClassCastException here. If i get the connection directly without using Connection Pooling, there is no problem. These are some of the connection pool relevant entries




I could see that there in one weblogic.jdbc.common.OracleCallableStatement. I dont get an Exception if i cast it to this. But if i use this, am getting a ClassCastException while creating the ArrayDescriptor.



I would be grateful to anyone who could throw some light on this for I've spent the entire day banging my head, ofcourse in vain


Regards,
Arvind
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassCastException in Weblogic 5.1 while using OracleCallableStatement
 
Similar Threads
Class Cast exception in oracle.sql.ArrayDescriptor
Unsatisfied link error
Connection pool
stateless session beans and access db is it possible
problem creating connection pool