java.lang.IllegalArgumentException

Parameter 0 does not exist as a named parameter in [SELECT entity FROM thomschkeOffice.model.services.contacts.Contact AS entity WHERE isEntityMarkedAsDeleted = ?]

Solutions on the web22789

  • via Hibernate JIRA by Johan Steiner, 1 year ago
    Parameter 0 does not exist as a named parameter in [SELECT entity FROM thomschkeOffice.model.services.contacts.Contact AS entity WHERE isEntityMarkedAsDeleted = ?]
  • via Hibernate JIRA by Johan Steiner, 1 year ago
    Parameter 0 does not exist as a named parameter in [SELECT entity FROM thomschkeOffice.model.services.contacts.Contact AS entity WHERE isEntityMarkedAsDeleted = ?]
  • Parameter value does not exist as a named parameter in [SELECT * FROM :table WHERE :field = ':value']
  • Stack trace

    • java.lang.IllegalArgumentException: Parameter 0 does not exist as a named parameter in [SELECT entity FROM thomschkeOffice.model.services.contacts.Contact AS entity WHERE isEntityMarkedAsDeleted = ?] at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:398) at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:466) at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:154) at model.dao.ejb3.Ejb3DAO.query(Ejb3ThomschkeOfficeDAO.java:218) at model.services.contacts.ContactManager.getAllContacts(ContactManager.java:91)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.