cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] DataSourcese Proposal (first draft)
Date Thu, 11 Jan 2001 22:20:55 GMT
Giacomo Pati wrote:

> Berin Loritsch wrote:

> 
>> 
>> Question: Should we make the DataSourceComponent the only method
> 
>> for obtaining a java.sql.Connection object?  It is definitely
> 
>> encouraged.
> 
> 
> 
> Can we stop someone from getting an "ordinary" sql connection ?


We can remove the facility from ESQL/SQLTransformer libraries.
That will get people thinking correctly.



>>>> As a side note, I found that the SQLTransformer sample
> 
>>> 
>>>> in CVS used and closed no fewer than 11 connections--
> 
>>> 
>>>> no wonder it's performance lagged behind esql logicsheet!
> 
>>> 
>>>> Can the maintainer of the SQLTransformer work on getting
> 
>>> 
>>>> that down to one per connection actually needed?
> 
>>> 
>>> Well that piece is way old. It was a test example from Donald Ball and I
> 
>>> 
> 
>>> have fixed it to make it work but this was in spring last year :/
> 
>> 
>> In that case, is this something we should remove?  It seems somewhat
> 
>> redundant.
> 
> 
> 
> I don't know. We can 
> 
> 
> 
> a) vote to remove it if nobody is using it. 
> 
> b) leave it as is as long as it compiles with the rest of the code 
> 
> c) find a volunteer which improves the code

I am fine with A or B but eventually someone is going to use it....


Mime
View raw message