Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4995F95F for ; Fri, 22 Mar 2013 00:37:16 +0000 (UTC) Received: (qmail 51651 invoked by uid 500); 22 Mar 2013 00:37:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 50945 invoked by uid 500); 22 Mar 2013 00:37:15 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 50842 invoked by uid 99); 22 Mar 2013 00:37:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 00:37:15 +0000 Date: Fri, 22 Mar 2013 00:37:15 +0000 (UTC) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (OPENJPA-2356) Use new Offset/Limit/ROWNUM features in DB2 family of databases for range queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Pinaki Poddar created OPENJPA-2356: -------------------------------------- Summary: Use new Offset/Limit/ROWNUM features in DB2 family of databases for range queries Key: OPENJPA-2356 URL: https://issues.apache.org/jira/browse/OPENJPA-2356 Project: OpenJPA Issue Type: Improvement Reporter: Pinaki Poddar Assignee: Pinaki Poddar JPA queries that use setFirstResult() and/or setMaxResult() translate to some form of Offset and Limit syntax in database SQL query. Recently DB2 and Derby has added ROWNUM and FETCH offset respectively. OpenJPA should use these facilities when appropriate. -- 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