Ensure that only the new Derby jar
files are in your CLASSPATH.
When you upgrade the database, you can perform a full upgrade
or soft upgrade:
A full upgrade is a complete upgrade of the Derby database.
When you perform a full upgrade, you cannot connect to the database with an
older version of Derby and
you cannot revert back to the previous version.
A soft upgrade allows you to run a newer version of Derby against
an existing database without having to fully upgrade the database. This means
that you can continue to run an older version of Derby against
the database. However, if you perform a soft upgrade, certain features will
not be available to you until you perform a full upgrade.
To upgrade the database, select the type of upgrade that you want
to perform. The following table shows the upgrade types.
Table 1. Upgrade types
Type of Upgrade
Connect to the database using the
upgrade=true database connection URL attribute. For example:
Connect to the database. For example:
In this example, sample is a database from a previous version