This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
All, My web application uses Weblogic connection pool for database activities. I am using Oracle database.
I have a jar file / class file which has the following piece of code, which my application uses.
Please remember i can't modify the above line of code.
When i am running the application i am getting the below error...
It seems like weblogic returns the object 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB', rather than the 'oracle.sql.CLOB' which i am expecting.
Is there any way i can force the weblogic to return the object i am expecting, since i can't modify the above piece of code, in which case, i can cast it to 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB'.