From dev-return-12527-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Sun Jun 21 20:12:20 2009 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 88262 invoked from network); 21 Jun 2009 20:12:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jun 2009 20:12:19 -0000 Received: (qmail 45790 invoked by uid 500); 21 Jun 2009 20:12:30 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 45714 invoked by uid 500); 21 Jun 2009 20:12:30 -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 45697 invoked by uid 99); 21 Jun 2009 20:12:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 20:12:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 20:12:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C03F234C046 for ; Sun, 21 Jun 2009 13:12:07 -0700 (PDT) Message-ID: <742646053.1245615127441.JavaMail.jira@brutus> Date: Sun, 21 Jun 2009 13:12:07 -0700 (PDT) From: "Anurag Rai (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Issue Comment Edited: (OPENJPA-1138) Adding the support for query targeting using a query target policy In-Reply-To: <2092998688.1245244087443.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722418#action_12722418 ] Anurag Rai edited comment on OPENJPA-1138 at 6/21/09 1:11 PM: -------------------------------------------------------------- *.1.patch is a cumulative patch for the issue. Target policy working for select and find. Many more test cases have been introduced. was (Author: anuragrai134): This is a cumulative patch for the issue. Target policy working for select and find. Many more test cases have been introduced. > Adding the support for query targeting using a query target policy > ------------------------------------------------------------------ > > Key: OPENJPA-1138 > URL: https://issues.apache.org/jira/browse/OPENJPA-1138 > Project: OpenJPA > Issue Type: New Feature > Components: slice > Affects Versions: 2.0.0 > Environment: Windows Vista, Eclipse3.4.2, Maven 2.1.0, Java 1.6.0_13 > Reporter: Anurag Rai > Fix For: 2.0.0 > > Attachments: OPENJPA-1138-2.0.0-SOURCE.1.patch, OPENJPA-1138-2.0.0-SOURCE.patch, OPENJPA-1138-2.0.0-TEST.1.patch, OPENJPA-1138-2.0.0-TEST.patch > > Original Estimate: 336h > Remaining Estimate: 336h > > Slice gives us an abstraction for using horizontally partitioned databases. As of now we use hints to set targets for a particular query if we want it to be fired on particular Slices(partitions). This method works fine but we need to have something which works from outside the user code as in the case of distribution policy. If we have such a way we can externally set targets without changing the code. Such targeting should be available for select and find. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.