Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 53108 invoked from network); 5 Mar 2011 09:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Mar 2011 09:11:07 -0000 Received: (qmail 63149 invoked by uid 500); 5 Mar 2011 09:11:07 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 63141 invoked by uid 99); 5 Mar 2011 09:11:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2011 09:11:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Sat, 05 Mar 2011 09:11:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 099EA56F24 for ; Sat, 5 Mar 2011 09:10:46 +0000 (UTC) Date: Sat, 5 Mar 2011 09:10:46 +0000 (UTC) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Message-ID: <218006863.838.1299316246021.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1874741217.13401.1299232116890.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (JDO-678) Ability to set properties on PersistenceManager 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/JDO-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson updated JDO-678: ------------------------------- Attachment: jdo-678.patch Proposed patch to PersistenceManager. I've called the new methods setProperty, getProperties, getSupportedProperties. Obviously since the PMF has "supportedOptions" and "getProperties" there may be other opinions, so welcome to suggestions that unify things > Ability to set properties on PersistenceManager > ----------------------------------------------- > > Key: JDO-678 > URL: https://issues.apache.org/jira/browse/JDO-678 > Project: JDO > Issue Type: Improvement > Components: api, specification, tck > Reporter: Andy Jefferson > Attachments: jdo-678.patch > > > It would be desirable to be able to set properties on the PersistenceManager, so as to be able to configure/change behaviour for a PM. Currently the PM is generated with particular configuration (from the PMF) and allows specific options to be set. But what about vendor extensions ? Having a general setProperty/getProperty/getSupportedProperties would be useful, and could also encompass the existing detachAllOnCommit, IgnoreCache, etc settings. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira