java.lang.ClassCastException: oracle.sql.TIMESTAMP

Oracle Community | 807581 | 1 decade 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

    ClassCast from oracle.sql.Timestamp to java.sql.Timestamp

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassCastException: oracle.sql.TIMESTAMP

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.sql.TIMESTAMP

      at com.sun.jdo.spi.persistence.support.sqlstore.model.FieldDesc.convertValue()
    2. com.sun.jdo
      SQLStateManager.prepareGetField
      1. com.sun.jdo.spi.persistence.support.sqlstore.model.FieldDesc.convertValue(FieldDesc.java:463)
      2. com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getConvertedObject(ResultDesc.java:399)
      3. com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.setFields(ResultDesc.java:746)
      4. com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getResult(ResultDesc.java:635)
      5. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeQuery(SQLStoreManager.java:648)
      6. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.retrieve(SQLStoreManager.java:500)
      7. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.retrieve(SQLStoreManager.java:458)
      8. com.sun.jdo.spi.persistence.support.sqlstore.sql.RetrieveDescImpl.realizeFields(RetrieveDescImpl.java:755)
      9. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.realizeField(SQLStateManager.java:2155)
      10. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareGetField(SQLStateManager.java:1866)
      11. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareGetField(SQLStateManager.java:1819)
      11 frames
    3. br.com.inttegra
      _ControllerBean_EJBObjectImpl_Tie._invoke
      1. br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_JDOState.getDataInicial(AgendamentoEJB449212383_JDOState.java:113)
      2. br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_ConcreteImpl.getDataInicial(AgendamentoEJB449212383_ConcreteImpl.java:132)
      3. br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_ConcreteImpl_EJBLocalObjectImpl.getDataInicial(AgendamentoEJB449212383_ConcreteImpl_EJBLocalObjectImpl.java:376)
      4. br.com.inttegra.infra.bean.agenda.AgendamentoBizBean._loadHelperByReflection(AgendamentoBizBean.java:162)
      5. br.com.inttegra.infra.bean.agenda.AgendamentoBizBean.convertToData(AgendamentoBizBean.java:585)
      6. br.com.inttegra.infra.bean.agenda.AgendamentoBizBean_EJBLocalObjectImpl.convertToData(AgendamentoBizBean_EJBLocalObjectImpl.java:468)
      7. br.com.inttegra.infra.bean.pacote.PacoteBizBean.convertToData(PacoteBizBean.java:359)
      8. br.com.inttegra.infra.bean.pacote.PacoteBizBean.findAll(PacoteBizBean.java:167)
      9. br.com.inttegra.infra.bean.pacote.PacoteBizBean_EJBLocalObjectImpl.findAll(PacoteBizBean_EJBLocalObjectImpl.java:322)
      10. br.com.inttegra.infra.businesslayer.ejb.ControllerBean.findAll(ControllerBean.java:338)
      11. br.com.inttegra.infra.businesslayer.ejb.ControllerBean_EJBObjectImpl.findAll(ControllerBean_EJBObjectImpl.java:242)
      12. br.com.inttegra.infra.businesslayer.ejb._ControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
      12 frames
    4. com.sun.corba
      RequestProcessor.process
      1. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
      2. com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
      3. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
      4. com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
      5. com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
      5 frames
    5. com.iplanet.ias
      FastThreadPool$ThreadPoolThread.run
      1. com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
      2. com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame