Easy restore of a corrupted Derby Database

Closed - This job posting has been filled and work has been completed.

Job Description

Hi.

I've a derby database corrupted.

I accidentally modified a .dat file in seg0 folder which made the database being corrupted. I only just modified a couple of readable characters, but after saving that .dat file the database throws this exception:

The exception trying to connect to the database is this one:

org.apache.derby.impl.jdbc.EmbedSQLException:
Page Page(7,Container(0, 3392)) is at version 4.359, the log file contains change version 4.360, either there are log records of this page missing, or this page did not get written out to disk properly.
org.apache.derby.iapi.error.StandardException:
Page Page(7,Container(0, 3392)) is at version 4.359, the log file contains change version 4.360, either there are log records of this page missing, or this page did not get written out to disk properly.



Some info about how to resolve this issue:
http://www-01.ibm.com/support/docview.wss?uid=swg21288806