See org.hibernate.tool.hbm2ddl.SchemaExport#importScript() It expects every query start from new line. Original issue was created here https://issues.jboss.org/browse/JBIDE-11907