[
http://jira.nuxeo.org/browse/NXP-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Georges Racinet reassigned NXP-2505:
------------------------------------
Assignee: Georges Racinet (was: Thierry Delprat)
> 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.1.5, 5.2 M1
> Reporter: Georges Racinet
> Assignee: Georges Racinet
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> 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