javax.persistence.PersistenceException

org.hibernate.exception.SQLGrammarException: could not execute query

Samebug tips1

Check your annotations to use the proper table and column names.

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

Solutions on the web145

  • Stack trace

    • javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1214) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147) at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:307) at com.dmt.pmsFilter.SpecDetialFilter.filter(SpecDetialFilter.java:21) at org.openxava.tab.Tab.filterKey(Tab.java:718) at org.openxava.tab.Tab.getKey(Tab.java:631) at org.openxava.tab.Tab.createTableModel(Tab.java:343) at org.openxava.tab.Tab.getTableModel(Tab.java:329)

    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,
    linxiaolonglinxiaolong
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    12 more bugmates