tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: DBCP 1.3/1.4
Date Tue, 08 Dec 2009 18:04:13 GMT
Tim Funk wrote:
> [I know I'm missing something .. but] Would it be worth dropping dbcp
> from 7 and just use jdbc-pool?

I think dropping dbcp would be bad - it is something that is familiar to
lots of users.

+1 to including jdbc-pool

Which one to make the default?

My very rough (not really thought out and I haven't looked at the code)
post commons-dbcp 1.4 and commons-pool 1.5.4 ideas are, since both need
a major refactoring, lets use jdbc-pool as the basis for some of that
refactoring and essentially bring the two code bases together.

How viable that is and how long it might take is very TBD.

Mark

> 
> -Tim
> 
> 
> Mark Thomas wrote:
>> Commons is close to the next DBCP release.
>>
>> I have been looking at this and there will, unfortunately, still be some
>> Java 5 with JDBC 3 / Java 6 with JDBC 4 issues. It isn't possible to
>> work around them without a complete refactoring and/or multiple JARs
>> and/or use of something like BCEL.
>>
>> Rather than introduce any of this complexity, I recommend the following
>> approach.
>>
>> Continue to ship Tomcat 6 with Java 5 built JDBC 3 support
>> Ship Tomcat 7 with Java 6 built JDBC 4 support
>>
>> For the rare occasions where folks using Tomcat 6 want JDBC 4 support
>> (from the lack of posts on this topic on the users list I don't think
>> there are that many of them) they can grab the dbcp jar from Tomcat 7
>> and use that instead.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 




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


Mime
View raw message