commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John McNally <jmcna...@collab.net>
Subject Re: [dbcp] 1.3 vs. 1.4 jdk
Date Wed, 01 Oct 2003 19:19:15 GMT
Dbcp can compile under both jdk's, so you can see an example of using
ant filtering to comment out jdbc3.0 methods.

The problem with two jars is that it makes usage in another product more
difficult.  I think tomcat would prefer to include only one jar.

I believe our intention is to distribute a jar compiled with jdk1.4 as
it is most compatible.  I think this could vary with different jvm's,
though that appears to be the case for Sun's.

I was concerned because it seems usage of the cvs head mysql jdbc driver
compiled with 1.4 jdk does result in ClassNotFoundErrors if used in a
1.3 jvm, I think we have avoided this problem in dbcp, it is just
something I wanted to remind others and as something that should be
tested before we ship final.

john mcnally

On Tue, 2003-09-30 at 21:18, Henri Yandell wrote:
> 
> Compile two jars?
> 
> In [dbutils] I need to learn how to do conditional compilation as it
> absolutely has to have two jars due to extension of ResultSet, but it's
> not such a need in dbcp. Still, maybe the answer is the obvious one.
> 
> Hen
> 
> On 30 Sep 2003, John McNally wrote:
> 
> > Code compiled with a 1.3 jdk is not compatible with java 1.4 jdbc api.
> > I did not check, but assume any jars for release will be compiled with a
> > 1.4 jdk?
> >
> > I think the hope is that a jar compiled with 1.4 will be usable in a 1.3
> > environment, so that we only distribute one.  I'm not sure if that
> > compatibility has been verified.
> >
> > I'm not sure but maybe I have used a 1.3 compiled dbcp in a 1.4 jvm,
> > though that does not seem like it would work.
> >
> > Basically, I'm saying I don't know the answer, but have we verified the
> > best jdk for compatibility?
> >
> > john mcnally
> >
> > On Tue, 2003-09-30 at 13:08, Dirk Verbeeck wrote:
> > > Release Candidates can be downloaded here:
> > > http://cvs.apache.org/~dirkv/builds/
> > >
> > > Preview of the updated websites here:
> > > http://cvs.apache.org/~dirkv/dbcp/
> > > http://cvs.apache.org/~dirkv/pool/
> > >
> > > The release schedule forsees a 2 week review period.
> > > http://cvs.apache.org/viewcvs/jakarta-commons/pool/RELEASE_PLAN_1_1.txt?rev=1.2&content-type=text/vnd.viewcvs-markup
> > >
> > > * Preparation Period:    28 September 2003 - 30 September 2003
> > > * Review Period:          1 October 2003 - 15 October 2003
> > > * Implementation Period: 16 October 2003 - 19 October 2003
> > > * Release Pool 1.1:      20 October 2003
> > >
> > > Please report any issue to the commons-dev mailing list as soon as possible.
> > > Positive reports are also very welcome :-)
> > > (specify tested database, OS, JVM, hardware, container/framework)
> > >
> > >
> > > Cheers
> > > Dirk
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org



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


Mime
View raw message