Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-678

EntityManager.createQuery() does not throw IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 0.9.7, 1.2.0, 1.3.0
    • query
    • None

    Description

      EntityManager.createQuery(String qlString) does not throw IllegalArgumentException as expected in case the query is incorrect. See javax.persistence.EntityManager API doc.

      Attachments

        1. openjpa-678.patch
          2 kB
          Xiaoqin Feng
        2. TestException.java
          6 kB
          Xiaoqin Feng

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            xiaoqinfeng2000 Xiaoqin Feng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: