From derby-dev-return-85743-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Tue Mar 01 17:31:03 2011 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 50560 invoked from network); 1 Mar 2011 17:31:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 17:31:03 -0000 Received: (qmail 95737 invoked by uid 500); 1 Mar 2011 17:31:03 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95709 invoked by uid 500); 1 Mar 2011 17:31: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 95695 invoked by uid 99); 1 Mar 2011 17:31:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 17:31:00 +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; Tue, 01 Mar 2011 17:30: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 D4D1B4A442 for ; Tue, 1 Mar 2011 17:30:39 +0000 (UTC) Date: Tue, 1 Mar 2011 17:30:39 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: <472469097.5472.1299000639868.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1520412007.18831.1297805577688.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (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 [ https://issues.apache.org/jira/browse/DERBY-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000974#comment-13000974 ] Rick Hillegas commented on DERBY-5043: -------------------------------------- Thanks Lily. I have verified that the behavior is as you describe. This looks good to me and will be helpful to users who do not want to make their connection logic aware of whether the engine was previously shutdown. > 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: 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