db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: patch instructions for JndiDataSourceFactory
Date Sun, 22 May 2005 08:01:25 GMT
The JndiDataSourceFactory has changed a lot since 3.0.2 Did you try to 
use the version from CVS ? I did not look deeply into it, but I see no 
reason to test for isEmpty() in the specified place in the current 
version. I might be wrong, though.

          Thomas

  On Thu, 19 May 2005 Mathias.Drischmann@tecis.de wrote:

> Hello developers,
>
>
>
> I tried to use commons configuration 1.1 with torque 3.0.2.
>
> If I did so, an exception was thrown that a null object can not be bound to
> the specified reference.
>
>
>
> I found the reason for this in JndiDataSourceFactory.initDataSource.
>
> Testing Configuration c != null is not enough. It is also nessesary to test
> c.isEmpty.
>
>
>
> I don't know if this is the only place to modify code, but it is one place.
>
> Mit freundlichen Grüßen / Sincerely yours
>
> Mathias Drischmann, IT / Business Applications
>
> tecis® Finanzdienstleistungen Aktiengesellschaft Alter Teichweg 17 · 22081
> Hamburg
>
> Telefon:   +49 (0)40 - 69 69 51 510
>
> E-Mail:    mathias.drischmann@tecis.de <mailto:mathias.drischmann@tecis.de>
>
> Internet:  http://www.tecis.com <http://www.tecis.com/>
>
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
>
>
>
>
>
>

Mime
View raw message