When upgrading Java DB from Release 5 to Release 5 Update 1, you must convert data from the Java DB 10.1 disk format to the 10.2 format if you want to take full advantage of the enhanced functionality of Release 5U1.
To perform this conversion, connect to the database with upgrade=true appended to the JDBC URL. For example:
java -cp JavaDB-base\lib\derbytools.java:JavaDB-base\lib\derby.jar org.apache.derby.tools.ij
ij version 10.2
ij> connect 'jdbc:derby:\databasePath;upgrade=true';
For more information, see the Getting Started Guide in the docs directory of your Java DB installation.