From torquevanessapratt@example.net Sat Sep 01 12:41:07 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 18242 invoked from network); 1 Sep 2007 12:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2007 12:41:06 -0000 Received: (qmail 3416 invoked by uid 500); 1 Sep 2007 12:41:02 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 3302 invoked by uid 500); 1 Sep 2007 12:41:01 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 3291 invoked by uid 500); 1 Sep 2007 12:41:01 -0000 Received: (qmail 3288 invoked by uid 99); 1 Sep 2007 12:41:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 05:41:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 12:41:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AAA0D1A983E; Sat, 1 Sep 2007 05:40:45 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java Date: Sat, 01 Sep 2007 12:40:45 -0000 To: vanessapratt@example.net From: vanessapratt@example.net X-Mailer: svnmailer-1.0.8 Message-Id: <vanessapratt@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Author: tv Date: Sat Sep 1 05:40:44 2007 New Revision: 571790 URL: http://svn.apache.org/viewvc?rev=571790&view=rev Log: - Added one line to copy the db-adapter from the database to its "default" reference and a test to show that it was necessary. :-) - Added a public method to the managers to make sure auxiliary caches are properly shut down during Torque shutdown. Modified: db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java Modified: db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java?rev=571790&r1=571789&r2=571790&view=diff ============================================================================== --- db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java (original) +++ db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java Sat Sep 1 05:40:44 2007 @@ -432,11 +432,14 @@ if ((!defaultDBName.equals(DEFAULT_NAME)) && databaseInfoForKeyDefault.getDataSourceFactory() == null) { - log.debug("Adding the DatasourceFactory from database " + log.debug("Adding the DatasourceFactory and DatabaseAdapter from database " + defaultDBName + " onto database " + DEFAULT_NAME); databaseInfoForKeyDefault.setDataSourceFactory( defaultDatabase.getDataSourceFactory()); + databaseInfoForKeyDefault.setAdapter( + defaultDatabase.getAdapter()); + this.defaultDsfIsReference = true; } } @@ -684,6 +687,19 @@ { idBroker.stop(); } + } + } + + // shut down the cache managers + synchronized (managers) + { + for (Iterator it = managers.entrySet().iterator(); it.hasNext();) + { + Map.Entry mentry = (Map.Entry)it.next(); + + AbstractBaseManager manager = (AbstractBaseManager)mentry.getValue(); + manager.dispose(); + it.remove(); } } Modified: db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java?rev=571790&r1=571789&r2=571790&view=diff ============================================================================== --- db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java (original) +++ db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java Sat Sep 1 05:40:44 2007 @@ -225,6 +225,20 @@ } /** + * Disposes of the cache. This triggers a shutdown of the connected cache + * instances. This method should only be used during shutdown of Torque. The + * manager instance will not cache anymore after this call. + */ + public void dispose() + { + if (cache != null) + { + cache.dispose(); + cache = null; + } + } + + /** * Remove an object from the cache * * @param key the cache key for the object --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Sat Sep 01 12:44:26 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 18799 invoked from network); 1 Sep 2007 12:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2007 12:44:25 -0000 Received: (qmail 4671 invoked by uid 500); 1 Sep 2007 12:44:20 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 4655 invoked by uid 500); 1 Sep 2007 12:44:20 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 4644 invoked by uid 500); 1 Sep 2007 12:44:20 -0000 Received: (qmail 4641 invoked by uid 99); 1 Sep 2007 12:44:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 05:44:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 12:44:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBEE21A9832; Sat, 1 Sep 2007 05:44:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r571791 - /db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java Date: Sat, 01 Sep 2007 12:44:04 -0000 To: vanessapratt@example.net From: vanessapratt@example.net X-Mailer: svnmailer-1.0.8 Message-Id: <vanessapratt@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Author: tv Date: Sat Sep 1 05:44:04 2007 New Revision: 571791 URL: http://svn.apache.org/viewvc?rev=571791&view=rev Log: Added a test to check whether the "default" database provides a valid adapter Modified: db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java Modified: db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java?rev=571791&r1=571790&r2=571791&view=diff ============================================================================== --- db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java (original) +++ db/torque/test/trunk/test-project/src/java/org/apache/torque/DataTest.java Sat Sep 1 05:44:04 2007 @@ -768,6 +768,19 @@ } /** + * test if a select from the "default" database works + * @throws Exception (NPE) if the test fails + */ + public void testSelectFromDefault() throws Exception + { + Criteria criteria = new Criteria("default"); + + criteria.addSelectColumn(BookPeer.BOOK_ID); + + BasePeer.doSelect(criteria); + } + + /** * test the behaviour if a connection is supplied to access the database, * but it is null. All methods on the user level should be able to * handle this. --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Mon Sep 03 08:03:35 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 25880 invoked from network); 3 Sep 2007 08:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Sep 2007 08:03:35 -0000 Received: (qmail 61201 invoked by uid 500); 3 Sep 2007 08:03:30 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 61184 invoked by uid 500); 3 Sep 2007 08:03:30 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 61173 invoked by uid 99); 3 Sep 2007 08:03:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 01:03:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.seitenbau.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 08:03:26 +0000 Received: from [83.161.120.155] (helo=www.seitenbau.net) by router.seitenbau.net with esmtp (Exim 4.43) id 1IS6tj-0004kS-Aj for vanessapratt@example.net; Mon, 03 Sep 2007 10:03:04 +0200 In-Reply-To: <vanessapratt@example.net> Subject: RE: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java To: "Apache Torque Developers List" <vanessapratt@example.net> X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: <vanessapratt@example.net> From: Thomas Fischer <vanessapratt@example.net> Date: Mon, 3 Sep 2007 10:03:02 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 7.0.1|January 17, 2006) at 03.09.2007 10:03:03 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_SV BODY: Odd Letter Triples with SV X-Virus-Checked: Checked by ClamAV on apache.org Sorry that I did not write an email sooner, but I'm -0.5 on this change. If the name of the default database should be "default", then the user should add torque.database.default = default to Torque.properties. I see no reason why "default" should be a reserved database name. On the other hand, it has confused users in the past, and it is difficult to achieve a clean shutdown (I'm rather sure Torque will try to close the default datasource twice now on Torque.shutdown().) I'd think it the cleanest solution if Turbine would not use a database name. Torque uses the default database whenever no database name is better. Another good solution would be if Turbine would ask Torque for its default database (via Torque.getDefaultDB()) instead of just using "default". Both will be backward-compatible down to Torque vanessapratt@example.net. If you still think this mapping is necessary for Turbine, and the properties workaround is no good, then please look into the shutdown issue and document the mapping you have done. If it is agreed to revert this change, I'd offer to do it, to make up partly for my delay in answering. Thomas vanessapratt@example.net schrieb am 01.09.2007 14:40:45: > Author: tv > Date: Sat Sep 1 05:40:44 2007 > New Revision: 571790 > > URL: http://svn.apache.org/viewvc?rev=571790&view=rev > Log: > - Added one line to copy the db-adapter from the database to its "default" > reference and a test to show that it was necessary. :-) > - Added a public method to the managers to make sure auxiliary caches are > properly shut down during Torque shutdown. --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Wed Sep 05 06:34:40 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 96618 invoked from network); 5 Sep 2007 06:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Sep 2007 06:34:40 -0000 Received: (qmail 2828 invoked by uid 500); 5 Sep 2007 06:34:29 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 2753 invoked by uid 500); 5 Sep 2007 06:34:29 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 2719 invoked by uid 99); 5 Sep 2007 06:34:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 23:34:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO gate-mail.tewisoft.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 06:35:41 +0000 Received: from localhost (localhost [83.161.120.155]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 76A78C39B for <vanessapratt@example.net>; Wed, 5 Sep 2007 08:34:27 +0200 (CEST) Received: from gate-mail.tewisoft.de (localhost [83.161.120.155]) by localhost (AvMailGate-2.1.1-5) id 25605-nXqsXk; Wed, 05 Sep 2007 08:34:27 +0200 Received: from mail.tewisoft.de (pik25.tewisoft.de [83.161.120.155]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 5CD6DC18D for <vanessapratt@example.net>; Wed, 5 Sep 2007 08:34:27 +0200 (CEST) Received: by mail.tewisoft.de (Postfix, from userid 65534) id A5451C16EE; Wed, 5 Sep 2007 08:34:04 +0200 (CEST) Received: from localhost (localhost [83.161.120.155]) by mail.tewisoft.de (Postfix) with ESMTP id 28571C16EE; Wed, 5 Sep 2007 08:34:03 +0200 (CEST) Received: from [83.161.120.155] (shell10.tewisoft.de [83.161.120.155]) by mail.tewisoft.de (Postfix) with ESMTP id A5CF8C16B2 for <vanessapratt@example.net>; Wed, 5 Sep 2007 08:34:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.tewisoft.de X-Spam-Level: Message-ID: <vanessapratt@example.net> Date: Wed, 05 Sep 2007 08:34:00 +0200 From: Thomas Vandahl <vanessapratt@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: de-de, cs, en-us MIME-Version: 1.0 To: Apache Torque Developers List <vanessapratt@example.net> Subject: Re: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java References: <vanessapratt@example.net> In-Reply-To: <vanessapratt@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Aloe-Verify: true (vanessapratt@example.net) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.1-5; AVE: 83.161.120.155; VDF: 83.161.120.155; host: gate-mail) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.3 required=5.0 tests=ALL_TRUSTED,BAYES_50, FS_GAPPY_2,SARE_SUB_GAPPY_2,SELFMADE098,TW_SV autolearn=no version=3.1.8 Thomas Fischer wrote: > Sorry that I did not write an email sooner, but I'm -0.5 on this change. If > the name of the default database should be "default", then the user should > add > torque.database.default = default > to Torque.properties. > > I see no reason why "default" should be a reserved database name. On the > other hand, it has confused users in the past, and it is difficult to > achieve a clean shutdown (I'm rather sure Torque will try to close the > default datasource twice now on Torque.shutdown().) No, it won't. The code part sets defaultDsfIsReference to true which takes care of this situation (introduced by yourself, Rev 393063, a fix for TRQS322, where we discussed this before): ---8<--- tfischer 19.10.2005 22:36:03 The Data Source Key "default" is now again mapped to the default data source. A test case is added to check that the behaviouris retained in the future. Fixes TRQS322. ---8<--- The copy of the DataSource has been there for ages. "default" has always been a reserved name for a database, the whole feature torque.database.default would not make sense otherwise. Turbine relies on that feature because it helps you to decide (at runtime, via configuration) which of the databases to use for authentication. > I'd think it the cleanest solution if Turbine would not use a database > name. Torque uses the default database whenever no database name is better. > Another good solution would be if Turbine would ask Torque for its default > database (via Torque.getDefaultDB()) instead of just using "default". Both > will be backward-compatible down to Torque vanessapratt@example.net. For the time being, the Turbine jar comes with compiled-in Torque OM classes. These use "default" as their database name, to make use of the above mentioned feature. Mind you, Torque peers still contain the database name as a static. I agree that the behavior you describe would be desirable but then again this is an issue for Torque to handle. > If you still think this mapping is necessary for Turbine, and the > properties workaround is no good, then please look into the shutdown issue > and document the mapping you have done. I still consider this a feature and all I did was to make it work correctly under all circumstances. The shutdown issue is taken care of. (see line 716 in TorqueInstance.java) Concerning the documentation of this feature, see http://db.apache.org/torque/releases/torque-3.3/runtime/reference/initialisation-configuration.html the section about database handles. > If it is agreed to revert this change, I'd offer to do it, to make up > partly for my delay in answering. -1 For reasons given above. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Fri Sep 07 08:32:22 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 3753 invoked from network); 7 Sep 2007 08:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Sep 2007 08:32:19 -0000 Received: (qmail 50987 invoked by uid 500); 7 Sep 2007 08:32:13 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 50951 invoked by uid 500); 7 Sep 2007 08:32:13 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 50929 invoked by uid 99); 7 Sep 2007 08:32:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 01:32:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.seitenbau.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 08:32:10 +0000 Received: from [83.161.120.155] (helo=www.seitenbau.net) by router.seitenbau.net with esmtp (Exim 4.43) id 1ITZFi-0008Ds-Mv for vanessapratt@example.net; Fri, 07 Sep 2007 10:31:48 +0200 In-Reply-To: <vanessapratt@example.net> Subject: Re: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java To: "Apache Torque Developers List" <vanessapratt@example.net> X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: <vanessapratt@example.net> From: Thomas Fischer <vanessapratt@example.net> Date: Fri, 7 Sep 2007 10:31:45 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 7.0.1|January 17, 2006) at 07.09.2007 10:31:45 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_SV BODY: Odd Letter Triples with SV X-Virus-Checked: Checked by ClamAV on apache.org Thomas Vandahl <vanessapratt@example.net> schrieb am 05.09.2007 08:34:00: > The copy of the DataSource has been there for ages. This is the only valid reason for this setting in my eyes. Although not all that has been there for ages makes sense in itself. > "default" has always > been a reserved name for a database, the whole feature > torque.database.default would not make sense otherwise. Here I do not agree. _Because_ this configuration parameter exists, the standard name "default" does not make sense. If one wishes the default database's name to be "default", then it can be done by torque.database.default=default > Turbine relies > on that feature because it helps you to decide (at runtime, via > configuration) which of the databases to use for authentication. But Turbine does not rely on this decision being made programmatically ? Why can it not be made by configuration ? > For the time being, the Turbine jar comes with compiled-in Torque OM > classes. These use "default" as their database name, to make use of the > above mentioned feature. Mind you, Torque peers still contain the > database name as a static. I agree that the behavior you describe would > be desirable but then again this is an issue for Torque to handle. > > > If you still think this mapping is necessary for Turbine, and the > > properties workaround is no good, then please look into the shutdown issue > > and document the mapping you have done. > > I still consider this a feature and all I did was to make it work > correctly under all circumstances. The shutdown issue is taken care of. > (see line 716 in TorqueInstance.java) Concerning the documentation of > this feature, see > http://db.apache.org/torque/releases/torque-3. > 3/runtime/reference/initialisation-configuration.html > the section about database handles. In this section, it says if you do not set the "name" attribute in the schema.xml, the generator will set it to be "default". It does not say anything about references during runtime. In my eyes, all boils down to "Can we ask the turbine users to configure the database "default" in their Torque.properties or not ?" This question is outside my scope as a Torque developer, so if you still think this is necessary, so be it. After all it is not a big issue. All I'm asking is to document that Torque on itself makes a reference to the default database with the name "default". Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Fri Sep 07 11:54:48 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 74340 invoked from network); 7 Sep 2007 11:54:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Sep 2007 11:54:48 -0000 Received: (qmail 47518 invoked by uid 500); 7 Sep 2007 11:54:42 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 47404 invoked by uid 500); 7 Sep 2007 11:54:42 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 47393 invoked by uid 99); 7 Sep 2007 11:54:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 04:54:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO gate-mail.tewisoft.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 11:56:02 +0000 Received: from localhost (localhost [83.161.120.155]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 15B04C3EA for <vanessapratt@example.net>; Fri, 7 Sep 2007 13:54:36 +0200 (CEST) Received: from gate-mail.tewisoft.de (localhost [83.161.120.155]) by localhost (AvMailGate-2.1.1-5) id 7374-8xCu6h; Fri, 07 Sep 2007 13:54:36 +0200 Received: from mail.tewisoft.de (pik25.tewisoft.de [83.161.120.155]) by gate-mail.tewisoft.de (Postfix) with ESMTP id EDAC1C3E3 for <vanessapratt@example.net>; Fri, 7 Sep 2007 13:54:35 +0200 (CEST) Received: by mail.tewisoft.de (Postfix, from userid 65534) id 2C9A3C1BEA; Fri, 7 Sep 2007 13:54:19 +0200 (CEST) Received: from localhost (localhost [83.161.120.155]) by mail.tewisoft.de (Postfix) with ESMTP id 017E7C1B89; Fri, 7 Sep 2007 13:54:18 +0200 (CEST) Received: from [83.161.120.155] (shell10.tewisoft.de [83.161.120.155]) by mail.tewisoft.de (Postfix) with ESMTP id A5094C1BEA for <vanessapratt@example.net>; Fri, 7 Sep 2007 13:54:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.tewisoft.de X-Spam-Level: Message-ID: <vanessapratt@example.net> Date: Fri, 07 Sep 2007 13:54:15 +0200 From: Thomas Vandahl <vanessapratt@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: de-de, cs, en-us MIME-Version: 1.0 To: Apache Torque Developers List <vanessapratt@example.net> Subject: Re: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java References: <vanessapratt@example.net> In-Reply-To: <vanessapratt@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Aloe-Verify: true (vanessapratt@example.net) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.1-5; AVE: 83.161.120.155; VDF: 83.161.120.155; host: gate-mail) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-101.6 required=5.0 tests=ALL_TRUSTED,BAYES_20, FS_GAPPY_2,SARE_SUB_GAPPY_2,SELFMADE098,TW_SV autolearn=ham version=3.1.8 Thomas Fischer wrote: >>"default" has always >>been a reserved name for a database, the whole feature >>torque.database.default would not make sense otherwise. > > > Here I do not agree. _Because_ this configuration parameter exists, the > standard name "default" does not make sense. If one wishes the default > database's name to be "default", then it can be done by > torque.database.default=default It's obviously difficult to make myself clear. This very Torque feature is documented and works so that the meaning of the database/datasource "default" can be routed to one of the existing database definitions. Why doesn't that make sense? I'll try an example. ---8<--- torque.database.turbine.adapter=mysql torque.dsfactory.turbine.factory=org.apache.torque.dsfactory.JndiDataSourceFactory torque.dsfactory.turbine.jndi.path=java:/comp/env/jdbc/Turbine torque.dsfactory.turbine.jndi.ttl=300000 torque.database.myapp.adapter=mysql torque.dsfactory.myapp.factory=org.apache.torque.dsfactory.JndiDataSourceFactory torque.dsfactory.myapp.jndi.path=java:/comp/env/jdbc/MyApp torque.dsfactory.myapp.jndi.ttl=300000 ---8<--- If I now generate OM classes for the database name "default", I can decide - via configuration - which of the two database definitions to use by simply setting torque.database.default=turbine or torque.database.default=myapp How would I achieve this without the feature discussed? > In this section, it says if you do not set the "name" attribute in the > schema.xml, the generator will set it to be "default". It does not say > anything about references during runtime. It does. ---8<--- As Torque has the ability to use multiple databases you can tell it which one to use by default thus... torque.database.default=bookstore ---8<--- It doesn't matter if the name of that default database is a reference internally. The intention was to give the user a choice and I second that intention. > In my eyes, all boils down to > "Can we ask the turbine users to configure the database "default" in their > Torque.properties or not ?" Where would this database point to? In my JNDI example above I would still use the same connection pool but with other factories I would open a second one when it is not exactly necessary. You might not need this feature. I do. So what's wrong with it? Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Fri Sep 07 12:26:23 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 87810 invoked from network); 7 Sep 2007 12:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Sep 2007 12:26:22 -0000 Received: (qmail 10145 invoked by uid 500); 7 Sep 2007 12:26:16 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 10128 invoked by uid 500); 7 Sep 2007 12:26:16 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 10117 invoked by uid 99); 7 Sep 2007 12:26:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 05:26:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.seitenbau.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 12:27:36 +0000 Received: from [83.161.120.155] (helo=www.seitenbau.net) by router.seitenbau.net with esmtp (Exim 4.43) id 1ITcuE-00023F-KH for vanessapratt@example.net; Fri, 07 Sep 2007 14:25:51 +0200 In-Reply-To: <vanessapratt@example.net> Subject: Re: svn commit: r571790 - in /db/torque/runtime/trunk/src/java/org/apache/torque: TorqueInstance.java manager/AbstractBaseManager.java To: "Apache Torque Developers List" <vanessapratt@example.net> X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: <vanessapratt@example.net> From: Thomas Fischer <vanessapratt@example.net> Date: Fri, 7 Sep 2007 14:25:49 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 7.0.1|January 17, 2006) at 07.09.2007 02:25:49 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_SV BODY: Odd Letter Triples with SV X-Virus-Checked: Checked by ClamAV on apache.org Thomas Vandahl wrote: > It's obviously difficult to make myself clear. This very Torque feature > is documented and works so that the meaning of the database/datasource > "default" can be routed to one of the existing database definitions. Why > doesn't that make sense? I'll try an example. > > ---8<--- > torque.database.turbine.adapter=mysql > torque.dsfactory.turbine.factory=org.apache.torque.dsfactory.JndiDataSourceFactory > > torque.dsfactory.turbine.jndi.path=java:/comp/env/jdbc/Turbine > torque.dsfactory.turbine.jndi.ttl=300000 > > torque.database.myapp.adapter=mysql > torque.dsfactory.myapp.factory=org.apache.torque.dsfactory.JndiDataSourceFactory > torque.dsfactory.myapp.jndi.path=java:/comp/env/jdbc/MyApp > torque.dsfactory.myapp.jndi.ttl=300000 > ---8<--- > > If I now generate OM classes for the database name "default", I can > decide - via configuration - which of the two database definitions to > use by simply setting > > torque.database.default=turbine > > or > > torque.database.default=myapp > > How would I achieve this without the feature discussed? > Ok, now I see your point. Sorry for my blocked thougts :-(. I'm now +1 for the change. > ... > > In this section, it says if you do not set the "name" attribute in the > > schema.xml, the generator will set it to be "default". It does not say > > anything about references during runtime. > > It does. > ---8<--- > As Torque has the ability to use multiple databases you can tell it > which one to use by default thus... > > torque.database.default=bookstore > ---8<--- > ... I'd just add a sentence saying: The name "default" should not be used as a name for a physical database in the configuration, because Torque uses the database name "default" as a reference to the default database. No need for you to do this, I have bothered you enough. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Mon Sep 10 15:33:30 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 38589 invoked from network); 10 Sep 2007 15:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2007 15:33:23 -0000 Received: (qmail 19021 invoked by uid 500); 10 Sep 2007 15:33:15 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 18959 invoked by uid 500); 10 Sep 2007 15:33:15 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 18900 invoked by uid 99); 10 Sep 2007 15:33:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 08:33:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:33:10 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id AE9CE5A24F for <vanessapratt@example.net>; Mon, 10 Sep 2007 15:32:49 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Apache Wiki <vanessapratt@example.net> To: vanessapratt@example.net Date: Mon, 10 Sep 2007 15:32:49 -0000 Message-ID: <vanessapratt@example.net> Subject: [Db-torque Wiki] Update of "Carolina+Coast+" by wikicninfo X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by wikicninfo: http://wiki.apache.org/db-torque/Carolina+Coast+ New page: NAGS HEAD, N.C. (AP) — Tropical Storm Gabrielle began to shower North Carolina's Outer Banks with rain and batter them with high winds Sunday as the storm slogged slowly toward the coast. Forecasters expected the storm to increase its wind speed slightly — though not to hurricane levels — before swiping the state's barrier islands on Sunday. After a brief landfall, Gabrielle was expected to take a sharp turn back into the Atlantic, the National Weather Service said. "All things considered, it's a pretty weak storm," said Casey Quell, a NWS forecaster in Morehead City. "More than anything, it will bring some much-needed rain." The storm carried top sustained winds of about 45 mph as of 5 a.m. Sunday, the National Weather Service reported. But those winds could strengthen to near 50 mph as Gabrielle nears the coast, according to the weather service. Gabrielle's center was located about 50 miles southeast of Cape Lookout and was moving slowly — about 10 mph — to the north-northwest. Forecasters issued a tropical storm warning for the North Carolina coastline north of Surf City through the Outer Banks and to the Virginia border. A tropical storm warning was also issued northward to Cape Charles Light, Va., along the Atlantic Coast, and a watch remains in effect for the area extending to New Point Comfort peninsula, along the Chesapeake Bay. Local officials urged residents and visitors at the vacation hotspot to secure loose items and to stay indoors as the storm blows through. Austin Lucas, a manager at Howard's Pub on Ocracoke Island, said workers there tied down furniture that was on the roof. But beyond that, he said everyone was just waiting to see when the storm would come. "We haven't really taken any severe precautions," Lucas said Sunday morning. "Nobody's too concerned about it." The National Park Service closed all campgrounds on the Cape Hatteras National Seashore. But they did not ask or recommend that people leave the islands. "When people hear about tropical storms, they assume houses are going to fall in the ocean," said Margot Jolly, a lifeguard with Nags Heads Ocean Rescue. "They shouldn't overreact like that. Just relax, stay inside, and have a little hurricane party." Gabrielle's first showers reached the coastline late Saturday night. Quell said the storm could produce a storm surge of up to 3 feet, with 1 to 3 inches of rain falling in coastal areas and up to 5 inches in isolated spots. "The greatest danger will be flooding in low lying areas and on roads, such as Highway 12 on the Outer Banks," said North Carolina Gov. Mike Easley. "The most deaths during tropical storms occur when people drive into flood waters and drown. Rip currents will be strong in the ocean." Rip currents had already caused problems Saturday. David Baker, the Ocean Rescue director for the Wrightsville Beach Fire Department about 150 miles south of Nags Head, told The Star-News of Wilmington that lifeguards rescued about a dozen people from the water because of rip currents. Gabrielle spun into the storm late Friday after wandering in the Atlantic for several days, caught along an old frontal boundary that stalled about midway between the Southeast coast and Bermuda. Forecasters first labeled it a subtropical storm — a hybrid system that takes power from warm ocean waters but also forms from warm and cold fronts colliding — before classifying it a tropical system Saturday. WOW Gold,buy WOW Gold [http://www.isefc.com.cn/ wow gold] powerleveling [http://www.isefc.com.cn/powerleveling.asp powerleveling] world of warcraft gold [http://www.isefc.com.cn/ world of warcraft gold] Burglar alarm [http://www.teamflyelectronic.com/ Burglar alarm] [http://www.electronic-wire.com/ cables] [http://www.isefc.com.cn/powerleveling.asp powerleveling] "We've been asking residents to be prepared for anything," said Chris Baucom, a spokesman for Dare County Emergency Management. "This storm's track has been kind of unpredictable." All of North Carolina's counties are facing drought conditions, with 91 percent under a severe drought. Easley asked Friday that all the state's local governments immediately enact voluntary or mandatory water restrictions. --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Mon Sep 10 15:48:11 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 69232 invoked from network); 10 Sep 2007 15:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2007 15:48:11 -0000 Received: (qmail 61800 invoked by uid 500); 10 Sep 2007 15:48:04 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 61779 invoked by uid 500); 10 Sep 2007 15:48:04 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 61768 invoked by uid 99); 10 Sep 2007 15:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 08:48:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:49:31 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 950AF5A252 for <vanessapratt@example.net>; Mon, 10 Sep 2007 15:47:38 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Apache Wiki <vanessapratt@example.net> To: vanessapratt@example.net Date: Mon, 10 Sep 2007 15:47:38 -0000 Message-ID: <vanessapratt@example.net> Subject: [Db-torque Wiki] Update of "Globe+Correspondent" by wikicninfo X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by wikicninfo: http://wiki.apache.org/db-torque/Globe+Correspondent New page: But community health centers draw patients for a number of reasons. They offer "one-stop shopping," which can include dental care, substance abuse treatment, pediatric and prenatal care, and social services. Most have child care and translators on site for non-English speakers. With the new Massachusetts health insurance law boosting the number of patients seeking care, community health centers south of Boston are scrambling to meet the demand. Sign up for: Globe Headlines e-mail | Breaking News Alerts Manet Community Health Center, which has four locations in Quincy and one in Hull, is hiring two new family care physicians and a nurse practitioner. Brockton Neighborhood Health Center now stays open two hours later on weeknights. In February, it hired a nurse practitioner, two medical assistants, and two social workers, and is planning to hire 20 more staff members in the next six months. "We've seen a really significant increase in visits by new patients," said Sue Joss, executive director of the Brockton health center. "Our phones are ringing off the hook for new patients." The two centers are the only ones directly south of Boston. But community health centers in Fall River and New Bedford, which also serve people from this region, are experiencing the same increase in demand, and expanding hours to meet it. The state's universal health insurance law, which is being rolled out this year, is bringing formerly uninsured people into the healthcare system. Many of these individuals and families are turning to community health centers, the locally based nonprofit organizations that arose from the antipoverty movement of the 1960s. "We are front and center in the new healthcare legislation," said Kerin O'Toole, spokeswoman for the Massachusetts League of Community Health Centers. "We've seen quite a surge in demand. Although in many cases patients could go elsewhere, the health centers offer a whole range of services you can't get from a private provider." The nation's first community health center opened at Columbia Point in Dorchester in 1965 as part of President Johnson's war on poverty. Similar centers, supported by federal aid and private grants, opened across the country in poor and medically underserved areas. Today, the United States has more than a thousand centers, 52 of them in Massachusetts. Business is thriving. In April, the Brockton center on Main Street saw a 12 percent spike in patient visits over last year, and in May, a 9 percent increase. A new $16 million center is under construction next to the cramped downtown facility and is scheduled to open in November. Statewide, patient loads at community health centers have been on the rise. In 2006, centers in Massachusetts saw 760,301 patients, an increase of nearly 94,000, or 14 percent, over the previous year. The surge in demand at community health centers with the new law was not fully expected. The centers have long been a safety net in the healthcare system - places where people could go whether they had insurance or not. The insured usually have many choices when seeking care Sign up for: Globe Headlines e-mail | Breaking News Alerts "People are more aware of the community health centers and the services we provide," said Sheryl Turgeon, chief executive officer of Healthfirst, which draws patients from Fall River and nearby towns. Community health centers also do outreach for Commonwealth Care, the new state health insurance program, and visitors to most centers can sign up for health insurance on the spot. The heavy promotions the state has been doing to get the uninsured to sign up and take advantage of healthcare also seems to be a factor in the increasing number of visits, according to Toni McGuire, chief executive officer of the Manet center. "I think one of the biggest reasons for the increase is the advertising around Commonwealth Care," McGuire said. Said Joss of the Brockton center, "There was never this kind of publicity around the free-care pool." In the past, institutions that treated the uninsured were compensated by a pool of money administered by the state and paid into by hospitals and other large providers. Another reason that community health centers are seeing more patients is that three of the four insurers working with Commonwealth Care tend to direct subscribers to the centers, according to Alan Sager, director of the health reform program at Boston University School of Public Health. Sager said he is concerned that some community health centers may not be able to hire physicians quickly enough to meet the demand. "If health centers were deluged by dozens more patients every day, how quickly could they respond?" he asked. A Massachusetts Medical Society report issued last month warned of a growing shortage of primary care physicians and some specialists, based on surveys of doctors and Massachusetts residents. "The community health centers rely heavily on primary care physicians, and if there is a shortage in the state, the centers would be exposed to that shortage," said B. Dale Magee, president of the Massachusetts Medical Society. So far, directors of centers south of Boston say they have been able to hire qualified staff and otherwise meet the demands of new patients - in part by expansion. The Manet center recently purchased the building it had been renting in North Quincy and is eyeing expansion on the site. The center also opened a clinic at Quincy Medical Center. [http://www.tnb120.com.cn/ 上海搬家公司],[http://www.168bc.com/ 上海搬场],[http://www.tunfar.com.cn/ 物资回收] [http://www.globalceoforum.com.cn/ 调节阀],[http://www.xcyouth.org.cn/ 上海搬家公司],[http://www.fdcchina.com.cn/ 上海搬场公司] [http://www.hbgm.cn/ 多动症],[http://www.sh-dzbc.com.cn/ 上海搬场],[http://www.isas.com.cn/ 大众搬场],[http://www.easyday.cn/ 浦东搬场公司] [http://www.shyxbc.com.cn/ 上海搬家公司],[http://www.hfire.cn/ 私人侦探],[http://www.168bc.com/price.html 上海搬家公司] The Greater New Bedford center recently expanded its downtown facility, more than doubling its square footage. Brockton's new facility will approximately double its patient capacity. "We're taking a pretty aggressive stance as we get ready to move into the new building," said Joss. "It seems right now the demand will be there." --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Mon Sep 10 22:47:57 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 56703 invoked from network); 10 Sep 2007 22:47:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2007 22:47:56 -0000 Received: (qmail 17698 invoked by uid 500); 10 Sep 2007 22:47:50 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 17687 invoked by uid 500); 10 Sep 2007 22:47:50 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 17676 invoked by uid 99); 10 Sep 2007 22:47:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:47:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 22:47:47 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id B250559A07 for <vanessapratt@example.net>; Mon, 10 Sep 2007 22:47:26 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Apache Wiki <vanessapratt@example.net> To: vanessapratt@example.net Date: Mon, 10 Sep 2007 22:47:26 -0000 Message-ID: <vanessapratt@example.net> Subject: [Db-torque Wiki] Update of "Carolina+Coast+" by ScottEade X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by ScottEade: http://wiki.apache.org/db-torque/Carolina+Coast+ The comment on the change is: Spam. ------------------------------------------------------------------------------ - NAGS HEAD, N.C. (AP) — Tropical Storm Gabrielle began to shower North Carolina's Outer Banks with rain and batter them with high winds Sunday as the storm slogged slowly toward the coast. + deleted - Forecasters expected the storm to increase its wind speed slightly — though not to hurricane levels — before swiping the state's barrier islands on Sunday. After a brief landfall, Gabrielle was expected to take a sharp turn back into the Atlantic, the National Weather Service said. - - "All things considered, it's a pretty weak storm," said Casey Quell, a NWS forecaster in Morehead City. "More than anything, it will bring some much-needed rain." - - The storm carried top sustained winds of about 45 mph as of 5 a.m. Sunday, the National Weather Service reported. But those winds could strengthen to near 50 mph as Gabrielle nears the coast, according to the weather service. - - Gabrielle's center was located about 50 miles southeast of Cape Lookout and was moving slowly — about 10 mph — to the north-northwest. - - Forecasters issued a tropical storm warning for the North Carolina coastline north of Surf City through the Outer Banks and to the Virginia border. A tropical storm warning was also issued northward to Cape Charles Light, Va., along the Atlantic Coast, and a watch remains in effect for the area extending to New Point Comfort peninsula, along the Chesapeake Bay. - - Local officials urged residents and visitors at the vacation hotspot to secure loose items and to stay indoors as the storm blows through. - - Austin Lucas, a manager at Howard's Pub on Ocracoke Island, said workers there tied down furniture that was on the roof. But beyond that, he said everyone was just waiting to see when the storm would come. - - "We haven't really taken any severe precautions," Lucas said Sunday morning. "Nobody's too concerned about it." - - The National Park Service closed all campgrounds on the Cape Hatteras National Seashore. But they did not ask or recommend that people leave the islands. - - "When people hear about tropical storms, they assume houses are going to fall in the ocean," said Margot Jolly, a lifeguard with Nags Heads Ocean Rescue. "They shouldn't overreact like that. Just relax, stay inside, and have a little hurricane party." - - Gabrielle's first showers reached the coastline late Saturday night. Quell said the storm could produce a storm surge of up to 3 feet, with 1 to 3 inches of rain falling in coastal areas and up to 5 inches in isolated spots. - - "The greatest danger will be flooding in low lying areas and on roads, such as Highway 12 on the Outer Banks," said North Carolina Gov. Mike Easley. "The most deaths during tropical storms occur when people drive into flood waters and drown. Rip currents will be strong in the ocean." - - Rip currents had already caused problems Saturday. David Baker, the Ocean Rescue director for the Wrightsville Beach Fire Department about 150 miles south of Nags Head, told The Star-News of Wilmington that lifeguards rescued about a dozen people from the water because of rip currents. - - Gabrielle spun into the storm late Friday after wandering in the Atlantic for several days, caught along an old frontal boundary that stalled about midway between the Southeast coast and Bermuda. Forecasters first labeled it a subtropical storm — a hybrid system that takes power from warm ocean waters but also forms from warm and cold fronts colliding — before classifying it a tropical system Saturday. - - WOW Gold,buy WOW Gold [http://www.isefc.com.cn/ wow gold] - powerleveling [http://www.isefc.com.cn/powerleveling.asp powerleveling] - world of warcraft gold [http://www.isefc.com.cn/ world of warcraft gold] - Burglar alarm [http://www.teamflyelectronic.com/ Burglar alarm] - [http://www.electronic-wire.com/ cables] - [http://www.isefc.com.cn/powerleveling.asp powerleveling] - - "We've been asking residents to be prepared for anything," said Chris Baucom, a spokesman for Dare County Emergency Management. "This storm's track has been kind of unpredictable." - - All of North Carolina's counties are facing drought conditions, with 91 percent under a severe drought. Easley asked Friday that all the state's local governments immediately enact voluntary or mandatory water restrictions. - --------------------------------------------------------------------- To unsubscribe, e-mail: vanessapratt@example.net For additional commands, e-mail: vanessapratt@example.net From torquevanessapratt@example.net Mon Sep 10 22:48:18 2007 Return-Path: <torquevanessapratt@example.net> Delivered-To: vanessapratt@example.net Received: (qmail 57031 invoked from network); 10 Sep 2007 22:48:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2007 22:48:18 -0000 Received: (qmail 18532 invoked by uid 500); 10 Sep 2007 22:48:11 -0000 Delivered-To: vanessapratt@example.net Received: (qmail 18513 invoked by uid 500); 10 Sep 2007 22:48:11 -0000 Mailing-List: contact vanessapratt@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:vanessapratt@example.net> List-Help: <mailto:vanessapratt@example.net> List-Post: <mailto:vanessapratt@example.net> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <vanessapratt@example.net> Delivered-To: mailing list vanessapratt@example.net Received: (qmail 18502 invoked by uid 99); 10 Sep 2007 22:48:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:48:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED,URIBL_RED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 22:49:36 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 624455A1CF for <vanessapratt@example.net>; Mon, 10 Sep 2007 22:47:42 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Apache Wiki <vanessapratt@example.net> To: vanessapratt@example.net Date: Mon, 10 Sep 2007 22:47:42 -0000 Message-ID: <vanessapratt@example.net> Subject: [Db-torque Wiki] Update of "Globe+Correspondent" by ScottEade X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by ScottEade: http://wiki.apache.org/db-torque/Globe+Correspondent The comment on the change is: Spam. ------------------------------------------------------------------------------ + deleted - But community health centers draw patients for a number of reasons. They offer "one-stop shopping," which can include dental care, substance abuse treatment, - pediatric and prenatal care, and social services. Most have child care and translators on site for non-English speakers. - With the new Massachusetts health insurance law boosting the number of patients seeking care, community health centers south of Boston are scrambling to meet - the demand. - - Sign up for: Globe Headlines e-mail | Breaking News Alerts Manet Community Health Center, which has four locations in Quincy and one in Hull, is hiring two - new family care physicians and a nurse practitioner. Brockton Neighborhood Health Center now stays open two hours later on weeknights. In February, it hired - a nurse practitioner, two medical assistants, and two social workers, and is planning to hire 20 more staff members in the next six months. - - "We've seen a really significant increase in visits by new patients," said Sue Joss, executive director of the Brockton health center. "Our phones are - ringing off the hook for new patients." - - The two centers are the only ones directly south of Boston. But community health centers in Fall River and New Bedford, which also serve people from this - region, are experiencing the same increase in demand, and expanding hours to meet it. - - The state's universal health insurance law, which is being rolled out this year, is bringing formerly uninsured people into the healthcare system. Many of - these individuals and families are turning to community health centers, the locally based nonprofit organizations that arose from the antipoverty movement of - the 1960s. - - "We are front and center in the new healthcare legislation," said Kerin O'Toole, spokeswoman for the Massachusetts League of Community Health Centers. "We've - seen quite a surge in demand. Although in many cases patients could go elsewhere, the health centers offer a whole range of services you can't get from a - private provider." - - The nation's first community health center opened at Columbia Point in Dorchester in 1965 as part of President Johnson's war on poverty. - - Similar centers, supported by federal aid and private grants, opened across the country in poor and medically underserved areas. Today, the United States has - more than a thousand centers, 52 of them in Massachusetts. - - Business is thriving. In April, the Brockton center on Main Street saw a 12 percent spike in patient visits over last year, and in May, a 9 percent increase. - A new $16 million center is under construction next to the cramped downtown facility and is scheduled to open in November. - - Statewide, patient loads at community health centers have been on the rise. In 2006, centers in Massachusetts saw 760,301 patients, an increase of nearly - 94,000, or 14 percent, over the previous year. - - The surge in demand at community health centers with the new law was not fully expected. The centers have long been a safety net in the healthcare system - - places where people could go whether they had insurance or not. The insured usually have many choices when seeking care - - Sign up for: Globe Headlines e-mail | Breaking News Alerts "People are more aware of the community health centers and the services we provide," said Sheryl - Turgeon, chief executive officer of Healthfirst, which draws patients from Fall River and nearby towns. - - Community health centers also do outreach for Commonwealth Care, the new state health insurance program, and visitors to most centers can sign up for health - insurance on the spot. - - The heavy promotions the state has been doing to get the uninsured to sign up and take advantage of healthcare also seems to be a factor in the increasing - number of visits, according to Toni McGuire, chief executive officer of the Manet center. - - "I think one of the biggest reasons for the increase is the advertising around Commonwealth Care," McGuire said. Said Joss of the Brockton center, "There was - never this kind of publicity around the free-care pool." - - In the past, institutions that treated the uninsured were compensated by a pool of money administered by the state and paid into by hospitals and other large - providers. - - Another reason that community health centers are seeing more patients is that three of the four insurers working with Commonwealth Care tend to direct - subscribers to the centers, according to Alan Sager, director of the health reform program at Boston University School of Public Health. - - Sager said he is concerned that some community health centers may not be able to hire physicians quickly enough to meet the demand.
{'source': 'Apache Software Foundation Public Mail Archives'}