stateless QueryModels don't support dates
-----------------------------------------
Key: NXP-2505
URL: http://jira.nuxeo.org/browse/NXP-2505
Project: Nuxeo Enterprise Platform
Issue Type: Improvement
Affects Versions: 5.2 M1, 5.1.5
Reporter: Georges Racinet
Assignee: Thierry Delprat
It's currently impossible to use date/time in a stateless query model. The
problem is that the QM can't guess whether the user wants to produce
a DATE or TIMESTAMP where clause part.
The solution would be that querymodel should accept instances of
org.nuxeo.ecm.core.query.sql.Literal. Then client code (typically in a Seam
Component) can use DateLiteral or TimestampLiteral, or whatever.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets