title: how to import script with multiple statment with jpa and hibernate
body: <p>I use Jpa property <code>org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor</code>
  for import ddl and dml file.</p>
  
  <p>but files(special ddl files) that has multiple statement like: Procedures, Functions,... not property imported, because semicolon known as a statement to execute.</p>
  
  <p>As at <code>MultipleLinesSqlCommandExtractor</code> <a href="http://docs.jboss.org/hibernate/orm/5.2/javadocs/org/hibernate/tool/hbm2ddl/MultipleLinesSqlCommandExtractor.html" rel="nofollow noreferrer">document</a> </p>
  
  <p>said: </p>
  
  <blockquote>
    <p>Class responsible for extracting SQL statements from import script. Supports instructions/comments and quoted strings spread over multiple lines. Each statement must end with semicolon.</p>
  </blockquote>
  
  <p><code>MultipleLinesSqlCommandExtractor</code> resolve statements that has multiple line, but create another problem in procedures that has multiple line that ends with semicolon.</p>
  
  <p>I want to procedure scripts execute as a single statement.</p>
  
  <p>In my case how to resolve it?  is there any other way to import ddl files to database using hibernate?</p>