You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by TomohitoNakayama <to...@basil.ocn.ne.jp> on 2005/05/05 02:01:30 UTC
Question for testing upgrade db
Hello.
I have implemented patch for DERBY-167 and try to test upgrade db.
Connecting previous database , next error occured.
ij version 10.1
ij> connect 'jdbc:derby:testdb';
ERROR XJ040: Failed to start database 'testdb', see the next exception for
details.
ERROR XCW00: Unsupported upgrade from '10.0' to '10.1 beta'.
ij>
This seems that it is impossible to test upgrade db at current trunk ....
Can I take any other way ?
Please give me some advise...
Best regards.
/*
Tomohito Nakayama
tomonaka@basil.ocn.ne.jp
tomohito@rose.zero.ad.jp
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 2005/05/03
Re: Question for testing upgrade db
Posted by TomohitoNakayama <to...@basil.ocn.ne.jp>.
Thank you !
I could run program.
Best regards.
/*
Tomohito Nakayama
tomonaka@basil.ocn.ne.jp
tomohito@rose.zero.ad.jp
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
----- Original Message -----
From: "Daniel John Debrunner" <dj...@debrunners.com>
To: "Derby Development" <de...@db.apache.org>
Sent: Thursday, May 05, 2005 9:09 AM
Subject: Re: Question for testing upgrade db
> TomohitoNakayama wrote:
>
>> Hello.
>>
>> I have implemented patch for DERBY-167 and try to test upgrade db.
>>
>> Connecting previous database , next error occured.
>>
>> ij version 10.1
>> ij> connect 'jdbc:derby:testdb';
>> ERROR XJ040: Failed to start database 'testdb', see the next exception
>> for details.
>> ERROR XCW00: Unsupported upgrade from '10.0' to '10.1 beta'.
>> ij>
>>
>> This seems that it is impossible to test upgrade db at current trunk ....
>>
>> Can I take any other way ?
>> Please give me some advise...
>
> I added a property just for this, based upon a similar concern by Suresh.
>
> Set the system property
>
> derby.database.allowPreReleaseUpgrade=true
>
> e.g.
>
> java -Dderby.database.allowPreReleaseUpgrade=true
> org.apache.derby.tools.ij
>
> I checked this in and an initial form of an upgrade test, but I haven't
> had time yet to describe it to the list.
>
> Dan.
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 2005/05/04
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 2005/05/04
Re: Question for testing upgrade db
Posted by Daniel John Debrunner <dj...@debrunners.com>.
TomohitoNakayama wrote:
> Hello.
>
> I have implemented patch for DERBY-167 and try to test upgrade db.
>
> Connecting previous database , next error occured.
>
> ij version 10.1
> ij> connect 'jdbc:derby:testdb';
> ERROR XJ040: Failed to start database 'testdb', see the next exception
> for details.
> ERROR XCW00: Unsupported upgrade from '10.0' to '10.1 beta'.
> ij>
>
> This seems that it is impossible to test upgrade db at current trunk ....
>
> Can I take any other way ?
> Please give me some advise...
I added a property just for this, based upon a similar concern by Suresh.
Set the system property
derby.database.allowPreReleaseUpgrade=true
e.g.
java -Dderby.database.allowPreReleaseUpgrade=true org.apache.derby.tools.ij
I checked this in and an initial form of an upgrade test, but I haven't
had time yet to describe it to the list.
Dan.