Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Abinash Mohapatra
, 1 year ago
org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to oracle.jdbc.OracleConnection 21:06:44,859 ERROR [stderr] (ServerService Thread Pool -- 48) at oracle.sql.TypeDescriptor.setPhysicalConnectionOf(TypeDescriptor.java:832)
java.lang.ClassCastException: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to oracle.jdbc.OracleConnection
21:06:44,859 ERROR [stderr] (ServerService Thread Pool -- 48)   at oracle.sql.TypeDescriptor.setPhysicalConnectionOf(TypeDescriptor.java:832)	at oracle.sql.TypeDescriptor.(TypeDescriptor.java:586)	at oracle.sql.ArrayDescriptor.(ArrayDescriptor.java:224)	at org.springframework.data.jdbc.support.oracle.SqlStructArrayValue.createTypeValue(SqlStructArrayValue.java:106)	at org.springframework.jdbc.core.support.AbstractSqlTypeValue.setTypeValue(AbstractSqlTypeValue.java:58)