java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement

hivmr.com | 4 months ago
  1. 0

    strange error when trying to call @NamedStoredProcedureQuery

    Oracle Community | 7 years ago | 694952
    java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement
  2. 0

    db:: 3.77::Class cast exception when i call a session bean from servlet ad

    hivmr.com | 4 months ago
    java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement
  3. 0

    @NamedStoredProcedureQuery problem

    Oracle Community | 7 years ago | 724774
    java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement incompatible with java.sql.CallableStatement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.77::Class cast exception when i call a session bean from servlet ad

    hivmr.com | 4 months ago
    java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement; nested exception is: java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement
  6. 0

    strange error when trying to call @NamedStoredProcedureQuery

    Oracle Community | 7 years ago | 694952
    java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement; nested exception is: java.lang.ClassCastException: weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper cannot be cast to java.sql.CallableStatement

      at org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.executeStoredProcedure()
    2. EclipseLink (non-OSGi)
      EJBQueryImpl.getSingleResult
      1. org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.executeStoredProcedure(DatabasePlatform.java:1785)
      2. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:568)
      3. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:501)
      4. org.eclipse.persistence.internal.sessions.AbstractSession.executeCall(AbstractSession.java:872)
      5. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:205)
      6. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:191)
      7. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:262)
      8. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:244)
      9. org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:188)
      10. org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:144)
      11. org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:664)
      12. org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:130)
      13. org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:583)
      14. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2755)
      15. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
      16. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1165)
      17. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1139)
      18. org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:389)
      19. org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:594)
      19 frames
    3. ru.cmlt.context
      ListServiceBean.callStoredProcedure
      1. ru.cmlt.context.model.refinfo.ListServiceBean.callStoredProcedure(ListServiceBean.java:319)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. com.bea.core
      AopUtils.invokeJoinpointUsingReflection
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      1 frame