• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrappedConnection using Jboss 4.0GA.

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using Connection pooling in Jboss 4.0 GA. In my application we are using Oracle object like ARRAY,TAB type etc for transactions.
My problem is that I have getting following error:
java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrappedConnection

Can you tell me how to resolve this issue?

Regards,
Sanket Akre
 
Sanket Akre
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still my problem is not solve.

Please see following coding for Connection creation:

java.sql.Connection conn = null;
javax.naming.InitialContext ic = new javax.naming.InitialContext();

// for Jboss JNDI_NAME = java:OracleDS
javax.sql.DataSource ds = (javax.sql.DataSource)ic.lookup(projsp.UtilityFunctions.getProperty("JNDI_NAME"));
conn = ds.getConnection();


Is there any setting in JBoss Application server to execute Oracle objects such as ARRAY and TAB type ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic