I am trying to import a sql script for H2. This script is provided by spring-batch and it\'s used to store the jobs metadata. When I execute this script directly in the H2
Try to write each of your create statements in one line.
The statement delimiter in import.sql is a newline. If you want to change it, then you need to use Hibernate > 4.1. There you can Implement a MultipleLinesSqlCommandExtractor and specify it by hibernate.hbm2ddl.import_files_sql_extractor