org.hibernate.exception.SQLGrammarException: could not initialize a collection: [org.xxx.xxx.agenda.modelo.Estructura.franja#component[agenda,id]{id=823, agenda=610}]

openxava | fredy1982 | 3 years 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

    No me lista la colección

    openxava | 3 years ago | fredy1982
    org.hibernate.exception.SQLGrammarException: could not initialize a collection: [org.xxx.xxx.agenda.modelo.Estructura.franja#component[agenda,id]{id=823, agenda=610}]
  2. 0

    Mensaje de error siguiendo el libro

    openxava | 4 years ago | jegomez
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
  3. 0

    Reference subquery fields in QueryDSL

    Stack Overflow | 2 years ago | Genzotto
    java.sql.SQLException: ORA-00904: "TABLE"."PARAMETER1": invalid identifier
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with oracle and "Alert", "Announcements" portlets - Forums | Liferay

    liferay.com | 2 years ago
    java.sql.SQLException: ORA-00932: inconsistent datatypes: expected - got CLOB_ [Sanitized]
  6. 0

    liferay5 and oracle HibernateException on startup - Forums | Liferay

    liferay.com | 1 year ago
    org.hibernate.exception.SQLGrammarException: could not execute query

    12 unregistered visitors
    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.sql.SQLException

      ORA-00904: "FRANJA0_"."FRANJA_NUMERO_DIA": identificador no válido

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OraclePreparedStatement.executeQuery
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)
      2. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
      3. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
      4. oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:754)
      5. oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219)
      6. oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:813)
      7. oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1051)
      8. oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:854)
      9. oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1156)
      10. oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3415)
      11. oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3460)
      11 frames
    3. org.apache.tomcat
      DelegatingPreparedStatement.executeQuery
      1. org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)
      1 frame
    4. Hibernate
      AbstractCollectionPersister.initialize
      1. org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
      2. org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:802)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
      5. org.hibernate.loader.Loader.loadCollection(Loader.java:2166)
      6. org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:62)
      7. org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:627)
      7 frames
    5. Hibernate
      PersistentBag.iterator
      1. org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
      2. org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1863)
      3. org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:369)
      4. org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
      5. org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
      5 frames
    6. Java RT
      Collections.enumeration
      1. java.util.Collections$1.<init>(Unknown Source)
      2. java.util.Collections.enumeration(Unknown Source)
      2 frames
    7. org.openxava.model
      MapFacade.getValues
      1. org.openxava.model.impl.MapFacadeBean.getCollectionValues(MapFacadeBean.java:1067)
      2. org.openxava.model.impl.MapFacadeBean.getCollectionValues(MapFacadeBean.java:1048)
      3. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:910)
      4. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:875)
      5. org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:634)
      6. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:99)
      7. org.openxava.model.MapFacade.getValues(MapFacade.java:397)
      7 frames
    8. org.openxava.view
      View.getCollectionSize
      1. org.openxava.view.View.getCollectionValues(View.java:1406)
      2. org.openxava.view.View.getCollectionSize(View.java:1447)
      2 frames
    9. org.apache.jsp
      collectionFrameHeader_jsp._jspService
      1. org.apache.jsp.xava.collectionFrameHeader_jsp._jspService(collectionFrameHeader_jsp.java:140)
      1 frame
    10. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    12. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    14. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
      5 frames
    15. GWT dev
      JspRuntimeLibrary.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
      1 frame
    16. org.apache.jsp
      detail_jsp._jspService
      1. org.apache.jsp.xava.detail_jsp._jspService(detail_jsp.java:557)
      1 frame
    17. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    19. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    21. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
      5 frames
    22. GWT dev
      JspRuntimeLibrary.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
      1 frame
    23. org.apache.jsp
      core_jsp._jspService
      1. org.apache.jsp.xava.core_jsp._jspService(core_jsp.java:298)
      1 frame
    24. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    25. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    26. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    28. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      6 frames
    29. org.openxava.web
      Module.request
      1. org.openxava.web.servlets.Servlets.getURIAsString(Servlets.java:120)
      2. org.openxava.web.servlets.Servlets.getURIAsString(Servlets.java:99)
      3. org.openxava.web.dwr.Module.getURIAsString(Module.java:209)
      4. org.openxava.web.dwr.Module.fillResult(Module.java:231)
      5. org.openxava.web.dwr.Module.request(Module.java:95)
      5 frames
    30. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    31. Direct Web Remoting
      DwrServlet.doPost
      1. org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
      2. org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
      3. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
      4. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
      5. org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
      6. org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
      7. org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
      7 frames
    32. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    33. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    34. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    35. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame