Daniel John Debrunner <[EMAIL PROTECTED]> writes: > Army wrote: >> If I run ij with the latest trunk and try to use the "describe" >> command on a database that was created in the 10.3 trunk prior to >> svn #496645, I get an error (NoSuchMethodError). Revision 496645 >> was part of DERBY-2226. >> My questions are: >> 1) Does anyone else see this peculiar behavior? >> 2) Does this matter? If I create the database with 10.2 and then >> connect from the latest 10.3 the describe command works as expected. >> So maybe this is just a side-effect from working on the development >> branch and there's nothing more to worry about...? > > What is happening is the stored compiled plan for the metadata query > was compiled against a set of classes that have since changed their > signature. Derby does handle this if the engine's release number does > not match the release the database was last booted as, e.g. a change > from 10.2.1.5 to 10.2.1.6 will force recompiling of stored plans. This > is how changes in a branch are handled. > > I don't think it matters, the development trunk is just that a > development trunk. Trying to ensure the current trunk worked against > any previous version of a database created by the development trunk I > think is too much work. Handling upgrade at defined boundaries is hard > enough :-)
I appologize for all the problems I seem to have created for people. If I had foreseen that this would be a problem I would have posted a warning to derby-dev. I'll try to do that in the future... :( -- dt
