Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 25712 invoked from network); 25 Apr 2005 20:25:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2005 20:25:50 -0000 Received: (qmail 84790 invoked by uid 500); 25 Apr 2005 20:26:17 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 84742 invoked by uid 500); 25 Apr 2005 20:26:16 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 84724 invoked by uid 99); 25 Apr 2005 20:26:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of gcjod-ojb-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 13:26:16 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DQA37-0008Dt-Pp for ojb-dev@db.apache.org; Mon, 25 Apr 2005 22:19:21 +0200 Received: from ip68-100-13-69.dc.dc.cox.net ([68.100.13.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2005 22:19:21 +0200 Received: from vadim by ip68-100-13-69.dc.dc.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2005 22:19:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ojb-dev@db.apache.org From: Vadim Gritsenko Subject: Re: OJB11 Incompatibilities, Was: Support stored procedures in select by pk statement (OJB-16) Date: Mon, 25 Apr 2005 16:23:52 -0400 Lines: 25 Message-ID: References: <95010607.1112976316570.JavaMail.jira@ajax.apache.org> <2000791697.1114360763828.JavaMail.jira@ajax.apache.org> <224f323405042513083a5151b6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-100-13-69.dc.dc.cox.net User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <224f323405042513083a5151b6@mail.gmail.com> Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thomas Dudziak wrote: >>I tried to pull over an application into the OJB 1.1, but there are lots of >>changes between OJB 1.0 and OJB 1.1, and while I managed to reconcile many, I at >>the moment stumbled onto one I can't seem to know how to fix. >> >>OJB 1.0 had property ConnectionFactoryClass, I have it set to >>ConnectionFactoryAvalonDataSource [1], but seems like OJB 1.1 ignores this >>property. What it has been replaced with? > > > Mhmm, it shouldn't, the setting hasn't been changed. You can have a > look at which connection factory class is instantiated in class > PersistenceConfiguration, line 78. According to stacktraces I see, it tries to instantiate ConnectionFactoryPooledImpl, and I see that it is mentioned in ContainerHelper: ...ensureImplementationClass(ConnectionFactory.class, ConnectionFactoryPooledImpl.class); So it seems like it does not pick up the value from properties file. Additionally, OJB.properties which I found in OJB 1.1 CVS has no such property as well... Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org