Dear All,
we have implemented support for H2 Driver Version Snapshots, based on GIT IDs.
This way, one can easily migrate many H2 databases from one H2 snapshot to another one.
You can now also add H2 Drivers to the program (e. g. for adding more snapshots or adding older H2 versions).
There are two caveats though:
1) the GIT ID is parsed from the H2 driver file name only. You will need to create correct filenames when compiling the H2 snapshots, e. g. using this patch attached to this e-mail.
2) the GIT ID itself does not say anything about a particular order. Instead, we maintain the order in a Textfile as part of the Migration Tool.
I am looking for a better and more robust solution to this and any idea was very welcome.
@H2 Developers: Some help or feedback on this snapshot version thing was much appreciated. I understand that you can't maintain backward compatibility during the developing cycle and why export to SQL script is needed.
But at the same time, the lack of a reliable versioning makes it difficult to maintain many databases. Please consider adding the GIT ID to the H2 driver filename and also to put it into the Meta Data somewhere. So we have a chance to know which driver version to use.
Testing many H2 databases against the recent development snapshots has merrits. We found a few issues this way, which static test cases have not found before.
Thank you and best regards!