From derby-dev-return-85836-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Wed Mar 02 20:43:01 2011 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18016 invoked from network); 2 Mar 2011 20:43:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 20:43:01 -0000 Received: (qmail 62826 invoked by uid 500); 2 Mar 2011 20:43:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 62796 invoked by uid 500); 2 Mar 2011 20:43:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 62789 invoked by uid 99); 2 Mar 2011 20:43:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 20:43:01 +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; Wed, 02 Mar 2011 20:42:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 58B334CA24 for ; Wed, 2 Mar 2011 20:42:38 +0000 (UTC) Date: Wed, 2 Mar 2011 20:42:38 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Message-ID: <1591575512.8842.1299098558360.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1520412007.18831.1297805577688.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (DERBY-5043) Document the new url attribute deregister to keep the AutoloadedDriver registers in DriverManager 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/DERBY-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim Haase updated DERBY-5043: ----------------------------- Attachment: DERBY-5043.zip DERBY-5043.stat DERBY-5043.diff Thanks, Rick, that helped a very great deal. I have committed grand larceny on your contribution. Attaching DERBY-5043.diff, DERBY-5043.stat, and DERBY-5043.zip, with changes to the following files: A src/ref/rrefattribderegister.dita M src/ref/refderby.ditamap M src/ref/rrefattrib16471.dita I added a link to the deregister topic from the shutdown topic (rrefattrib16471.dita) as well as vice versa. I described the nondefault behavior first, as you did; I wonder if the default behavior should be described first? All corrections and other suggestions are welcome. > Document the new url attribute deregister to keep the AutoloadedDriver registers in DriverManager > ------------------------------------------------------------------------------------------------- > > Key: DERBY-5043 > URL: https://issues.apache.org/jira/browse/DERBY-5043 > Project: Derby > Issue Type: Improvement > Components: Documentation > Affects Versions: 10.7.1.1 > Reporter: Lily Wei > Assignee: Kim Haase > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: DERBY-5043.diff, DERBY-5043.stat, DERBY-5043.zip, Repro2905.java > > > With DERBY-2905, we have a new connection url attribute - deregister. After a shutdown of the embedded driver, the AutoloadedDriver is unregistered from the DriverManager. Users who wish to keep the AutoloadedDriver can set the deregister attribute on the connection url to false. It is only valid with shutdown=true. And, the default behavior with shutdown=true is deregister=true. > For example: > 'shutdown=true;deregister=true" (It is okay not to specify deregister=true) > 'shutdown=true;deregister=false" -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira