OpenJPA
  1. OpenJPA
  2. OPENJPA-1425

Literal value in projection can not be parameterized for all databases

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta
    • Component/s: None
    • Labels:
      None

      Description

      Derby does not support parameters in projection terms.

      JPQL: select 'xyz' from Person p
      OpenJPA will generate a parametrized SQL wih parameter 'xyz' that Derby does not like.

        Activity

        Pinaki Poddar created issue -
        Pinaki Poddar made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 2.0.0-M4 [ 12314149 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Pinaki Poddar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development