Max,

 

I find bug in org.hibernate.tool.hbm2ddl.SchemaExport.š The problem is in ->

private void importScript(Reader importFileReader, Statement statement)

 

cause we read buffer line by line

 

šššššššššššššššššššššššššššššš BufferedReader reader = new BufferedReader( importFileReader );

šššššššššššššššššššššššššššššš for ( String sql = reader.readLine(); sql != null; sql = reader.readLine() ) {

 

and then execute statement – this is not a true in all cases – cause we could have multiline statements…

So I got exceptions here. I think I can fix it – but I think this is not in my sphere of responsibilities or?

Should I create JIRA issue for it?

 

Vitali.