java.lang.IllegalArgumentException

org.hibernate.QueryException: Not all named parameters have been set: [p1] [SELECT e.id, e.date, e_branch.name, e_state.name, e.clientName, e_agent.name from Request e left join e.branch e_branch left join e.state e_state left join e.agent e_agent where e.user.name like :p0 AND e.state.id = :p1]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web45

  • via openxava by juanjovega
    ,
  • via Stack Overflow by jerith2
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: org.hibernate.QueryException: Not all named parameters have been set: [p1] [SELECT e.id, e.date, e_branch.name, e_state.name, e.clientName, e_agent.name from Request e left join e.branch e_branch left join e.state e_state left join e.agent e_agent where e.user.name like :p0 AND e.state.id = :p1] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1376) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1317) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:255) at org.openxava.tab.impl.JPATabProvider.nextBlock(JPATabProvider.java:170) at org.openxava.tab.impl.JPATabProvider.nextChunk(JPATabProvider.java:139) at org.openxava.tab.impl.EntityTabDataProvider.nextChunk(EntityTabDataProvider.java:32) at org.openxava.tab.impl.EntityTab.nextChunk(EntityTab.java:249) at org.openxava.tab.impl.TableModelBean.getRow(TableModelBean.java:121) at org.openxava.tab.impl.TableModelBean.getValueAt(TableModelBean.java:172)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,