You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/12/15 12:22:13 UTC

[jira] [Closed] (OFBIZ-4346) Support MySQL and Postgres's LIMIT and OFFSET options

     [ https://issues.apache.org/jira/browse/OFBIZ-4346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4346.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Jinghai,

Your patch is in trunk at r1422221.

No need to advise, as I thought. These clauses are specific to DB brands, hence we suppose people do know what they are doing.
                
> Support MySQL and Postgres's LIMIT and OFFSET options
> -----------------------------------------------------
>
>                 Key: OFBIZ-4346
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4346
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Shi Jinghai
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--limit_offset_trunk, limit_offset_trunk.patch, mysql_postgres_limit_offset_trunk.patch
>
>
> Two helper classes are added for MySQL and Postgres to support LIMIT and OFFSET options.
> These classes can be configured in entityengine.xml:
> helper-class="org.ofbiz.entity.datasource.postgres.PostgresHelperDAO" for Postgres
> and
> helper-class="org.ofbiz.entity.datasource.mysql.MysqlHelperDAO" for MySQL.

--
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