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

Support JDBC Escape syntax for temporal types on Criteria Query

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: query
    • Labels:
      None

      Description

      JDBC Escape Syntax for temporal types

      {key 'some string'}

      where key is d,t or ts for Date,Time and Timestamp.

      JPQL supports these escaped syntax as literals. (Section 4.6.1 in JPA 2.0 Spec).

      This issue will investigate if similar feature can be supported in Criteria Query.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ppoddar@apache.org Pinaki Poddar
              Reporter:
              ppoddar@apache.org Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development