[jira] [Commented] (OFBIZ-5146) in ModelViewEntity.java, a Map is built with only a few of the SQL functions, extend the map to include the MONTH and Year functions.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5146) in ModelViewEntity.java, a Map is built with only a few of the SQL functions, extend the map to include the MONTH and Year functions.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602115#comment-13602115 ]

Adrian Crum commented on OFBIZ-5146:
------------------------------------

From my perspective, there are plenty of opportunities to improve the entity engine. Let's not throw away hope of making progress by focusing too heavily on the past.

The entity engine did not arrive in the project in its current state. Instead, it evolved over time. There have been other times when situations like this have come up and the entity engine was refactored to accommodate it.

So, let's do what we've done before - add another attribute to the datasource to control how the SQL for the function is generated.

               

> in ModelViewEntity.java, a Map is built with only a few of the SQL functions, extend the map to include the MONTH and Year functions.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5146
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5146
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jaideep Singh
>             Fix For: SVN trunk
>
>         Attachments: ModelViewEntity.patch, ModelViewEntity.patch
>
>
> in ModelViewEntity.java, a Map is built with only a few of the SQL functions, extend the map to include the MONTH and Year functions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira