openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1266) JDBC date/timestamp literals in JPQL
Date Tue, 25 Aug 2009 22:06:59 GMT
JDBC date/timestamp literals in JPQL
------------------------------------

                 Key: OPENJPA-1266
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1266
             Project: OpenJPA
          Issue Type: New Feature
          Components: kernel
    Affects Versions: 2.0.0
            Reporter: Fay Wang
             Fix For: 2.0.0


The JDBC escape syntax may be used for the specification of date, time, and timestamp literals.
For
example:
SELECT o
FROM Customer c JOIN c.orders o
WHERE c.name = 'Smith'
AND o.submissionDate < {d '2008-12-31'}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message