You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Ma...@tecis.de on 2005/05/19 19:08:36 UTC

patch instructions for JndiDataSourceFactory

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 <ma...@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.

 

 


Next release [was: RE: patch instructions for JndiDataSourceFactory

Posted by Thomas Fischer <tf...@apache.org>.
Mickey,

your calls for a new release have been read. It makes no sense whatsoever 
to repeat them a dozen times.

May I remind you that Torque is a project which consists of voluntary 
contributions. Speaking only for myself, almost all of the work I do for 
Torque is done in my spare time, so I take the liberty of going at my own 
pace.

Then, I would like to make sure that the new release is stable. This means 
that I want to look at the open issues and see if they can be resolved 
before taking any other action.

Oh, before I forget it, the code change mentioned below actually IS 
released in Torque 3.1.1

       Thomas


On Sun, 22 May 2005, Mickey Mokotov wrote:

> Guys,
>
> We really need to release a new version.
> There are many people who use the version they see released, and are
> suffering from bugs fixed two years a go...
>
> -- 
> www.FetchBook.Info
> Find the lowest price - Compare more then a hundred book stores in a click.
>
>
> -----Original Message-----
> From: Thomas Fischer [mailto:tfischer@apache.org]
> Sent: Sunday, May 22, 2005 10:01 AM
> To: Apache Torque Developers List
> Subject: Re: patch instructions for JndiDataSourceFactory
>
>
> 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
> <ma...@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.
>>
>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>
>

RE: patch instructions for JndiDataSourceFactory

Posted by Mickey Mokotov <mi...@fetchbook.info>.
Guys,

We really need to release a new version.
There are many people who use the version they see released, and are
suffering from bugs fixed two years a go...

-- 
www.FetchBook.Info
Find the lowest price - Compare more then a hundred book stores in a click.


-----Original Message-----
From: Thomas Fischer [mailto:tfischer@apache.org] 
Sent: Sunday, May 22, 2005 10:01 AM
To: Apache Torque Developers List
Subject: Re: patch instructions for JndiDataSourceFactory


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
<ma...@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.
>
>
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Re: patch instructions for JndiDataSourceFactory

Posted by Thomas Fischer <tf...@apache.org>.
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 <ma...@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.
>
>
>
>
>
>