Skip to content

Commit 5f1e9d4

Browse files
authored
Merge pull request #37 from jasonlyle88/develop
Version 1.10.00
2 parents 9b9ac91 + 5449daf commit 5f1e9d4

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- Set sqlblanklines parameter before calling liquibase
2+
-- Because this is set before liquibase is called, each sql change should use
3+
-- the parameter values from the time liquibase is launched as the default
4+
-- values for the sqlcl executor.
5+
-- So set sqlblanklines to on and run a sqlstatement with blanklines to see
6+
-- if it breaks to see if this parameter makes it through to the executor
7+
set sqlblanklines on
8+
9+
liquibase update -database-changelog-table-name &1._changelog -search-path &2/sqlcl-liquibase-set-parameter-becomes-sqlcl-executor-defaults -changelog-file changelog.xml
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xmlns:ora="http://www.oracle.com/xml/ns/dbchangelog-ext"
6+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.17.xsd"
7+
>
8+
<changeSet
9+
id="run_multiline_sql"
10+
author="jlyle"
11+
runOnChange="true"
12+
runAlways="true"
13+
>
14+
<sql>
15+
select
16+
17+
'foo' jmltest
18+
19+
from
20+
21+
sys.dual;
22+
</sql>
23+
</changeSet>
24+
</databaseChangeLog>

0 commit comments

Comments
 (0)