I have a sql script (it is just schema definition). The script is a modified version (getting rid of the bad characters h2 doesn\'t like) of a mysql dumb.
The script ru
Found the issue. By default, h2 has this setting set to true DATABASE_TO_UPPER
. Setting that to false will save the data as expected. So in my INIT command (before it), I entered:
jdbc:h2:mem:~/test;DATABASE_TO_UPPER=false;INIT=runscript from '~/schema.sql'
Now the tables are being inserted in the correct case