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 91EFF9C16 for ; Wed, 21 Sep 2011 14:55:32 +0000 (UTC) Received: (qmail 95396 invoked by uid 500); 21 Sep 2011 14:55:32 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 95365 invoked by uid 500); 21 Sep 2011 14:55:32 -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 95357 invoked by uid 99); 21 Sep 2011 14:55:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 14:55:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 14:55:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1436EA6A2F for ; Wed, 21 Sep 2011 14:55:11 +0000 (UTC) Date: Wed, 21 Sep 2011 14:55:11 +0000 (UTC) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Message-ID: <2121005938.50861.1316616911079.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OPENJPA-1650) Adding a slice dynamically should be done via persistence unit only MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-1650: ---------------------------------- Fix Version/s: 2.2.0 2.1.2 > Adding a slice dynamically should be done via persistence unit only > ------------------------------------------------------------------- > > Key: OPENJPA-1650 > URL: https://issues.apache.org/jira/browse/OPENJPA-1650 > Project: OpenJPA > Issue Type: Bug > Reporter: Pinaki Poddar > Assignee: Pinaki Poddar > Fix For: 2.1.2, 2.2.0 > > > Current support for adding a new Slice dynamically exists at three places > DistributedBrokerFactory.addSlice(String name, Map properties) > DistributedConfiguration.addSlice(String name, Map properties) > DistributedBroker.addSlice(String name, Map properties) > This is confusing. A new slice should *only* be added via DistributedBrokerFactory. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira