Sergey Karpov wrote:
During a call of stored procedure through DBCP there is a mistake of
reduction of type:

java.lang.ClassCastException

That's because you're assuming that dbcp returns you a naked vendor JDBC Connection object. It doesn't - it returns you a pooled connection wrapper with forwarding methods. Ditto for CallableStatements.


If you really needed to get the underlying object, you'd have to look at the JavaDoc for DBCP.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to