Skip to:
This is either a regression of CORE-288, or that issue was never actually resolved. Semicolons in comments cause statement splitting errors
For example:
Splits as:
Statement
Did you include the comments in a <rollback> block?
Some prior art for comparison:
LiquiBase (Us) (Apache 2.0): liquibase.util.StringUtils.processMutliLineSQL(...)
liquibase.util.StringUtils.processMutliLineSQL(...)
Ant (Apache 2.0): org.apache.tools.ant.taskdefs.SQLExec
org.apache.tools.ant.taskdefs.SQLExec
SQL Maven Plugin (Apache 2.0): org.codehaus.mojo.sql.SqlSplitter
org.codehaus.mojo.sql.SqlSplitter
MyBatis (Apache 2.0): org.apache.ibatis.jdbc.ScriptRunner
org.apache.ibatis.jdbc.ScriptRunner
H2 (dual licensed): org.h2.util.ScriptReader...
org.h2.util.ScriptReader
Spring Test (Apache 2.0): org.springframework.test.jdbc.SimpleJdbcTestUtils.executeSqlScript(...)
org.springframework.test.jdbc.SimpleJdbcTestUtils.executeSqlScript(...)
HenPlus (GPLv3): henplus.SQLStatementSeparator
henplus.SQLStatementSeparator
All but HenPlus appear license compatible.
This is either a regression of CORE-288, or that issue was never actually resolved. Semicolons in comments cause statement splitting errors
For example:
Splits as:
Statement
Statement
Statement
Statement