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

hivmr.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 9 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 | 8 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

    Eclipselink problem with MySQL Stored Procedures

    Coderanch | 5 years ago | Marc Marais
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4PreparedStatement cannot be cast to java.sql.CallableStatement
  6. 0

    Problem with a MySQL stored procedure calling

    Coderanch | 7 years ago | Jose Alvarez de Lara
    java.lang.ClassCastException: com.sun.gjc.spi.jdbc40.PreparedStatementWrapper40 cannot be cast to java.sql.CallableStatement

    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