db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: VOTE: Principles of sharing code
Date Wed, 02 Nov 2005 17:38:45 GMT
David W. Van Couvering wrote:

> Thanks, Dan.  I would like to know if we need to have a vote on the
> overall principles of shared code or if people just want to see an
> examlpe implementation.  I am fine either way, although personally I'd
> like to make sure we agree on the principles before I spend too much
> time on an implementation.
I think the requirement for a vote, be it in principle or patch  comes
primarily from the resulting product behaviour changes. I think for the
changes  you have proposed, that means  reduced support for mixing
server and client jar versions.  I think I finally understand the change
in a way that I can explain it to users and support folks that are
affected by it  but know nothing about the internals of Derby, what's
shared or how,  and I think it goes like this:

Behaviour Change:

Derby will continue to allow  mixing different versions of
derbyclient.jar and derby.jar in the same JVM classpath but beginning
with Derby 10.2 this capability will be affected by classpath order.  If
the lower revision level jar  comes first in the classpath,  new
functionality and bug fixes may not be available, but functionality at
the lower revision level will not be affected.  Placing the higher
revision level jar first in the classpath will make the functionality
and bugfixes from  the higher revision level available. 

If a bug is fixed  in version (1235)  and  a single JVM has a
client application  with version (1234) derbyclient.jar  and 
an embedded application with (1235) derby.jar in it's
classpath,  it may be necessary to either upgrade  the client version
to (1235) or   make sure  derby.jar is first in the classpath 
for the embedded application to see the fix.

Does this sound like an accurate description of the behaviour change
from the user/support  perspective?    Is there anything else we should
watch out for in environments where jar versions are mixed?  Will
derbytools.jar be affected?  Just to be clear, I am not challenging
anything here.  I'm  just trying to understand and make sure I explain
this to others correctly and deal with it properly from a support



View raw message