How to migrate h2 v1.2.142 to h2 v1.4.x

36 views
Skip to first unread message

Bikash Prusty

unread,
Mar 11, 2020, 6:50:39 AM3/11/20
to H2 Database
I want migrate my existing h2 database to latest version.Could not able to find right document to do that. Can anyone help me on this ASAP?

Evgenij Ryazanov

unread,
Mar 11, 2020, 7:15:35 AM3/11/20
to H2 Database
Hello.

Use the recommended procedure with SCRIPT TO 'filename.sql' in your old version of H2, creation of a new database in the new version, and RUNSCIPT FROM 'filename.sql' in it.

Because there is a huge difference between 1.2.142 and recent releases, this script may need some editing, but it depends on the schema of your data.
Reply all
Reply to author
Forward
0 new messages