Skip to content

Commit 6d89e83

Browse files
committed
First cut of SQLcl Liquibase APEX Demo files.
0 parents  commit 6d89e83

22 files changed

+11696
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Software Files #
2+
##################
3+
*.log

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SQLcl Liquibase APEX Demo
2+
3+
This respository contains the files to support a simple demontration of using the SQLcl implementation of Liquibase to deploy Oracle Application Express (APEX) applications.
4+
5+
You can find the article describing this demontration here.
6+
7+
* [SQLcl : Deploying Oracle Application Express (APEX) Applications using the SQLcl implementation of Liquibase](https://oracle-base.com/articles/misc/sqlcl-deploying-oracle-application-express-apex-applications-using-sqlcl-and-liquibase)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
7+
<include file="./changelog_setup_tab1.xml" relativeToChangelogFile="true"/>
8+
<include file="./changelog_setup_tab2.xml" relativeToChangelogFile="true"/>
9+
<include file="./changelog_setup_demo_app_sqlcl.xml" relativeToChangelogFile="true"/>
10+
</databaseChangeLog>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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:n0="http://www.oracle.com/xml/ns/dbchangelog-ext"
6+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
7+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
8+
<changeSet author="tim" id="demo_app_v1">
9+
<n0:runOracleScript objectName="demo_app" ownerName="DEV_WS" sourceType="FILE">
10+
<n0:source><![CDATA[/git/oraclebase/liquibase_sqlcl_apex_demo/normal/scripts/demo_app_f101.sql]]></n0:source>
11+
</n0:runOracleScript>
12+
</changeSet>
13+
</databaseChangeLog>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
7+
8+
<changeSet author="tim" id="tab1_seq">
9+
<sqlFile dbms="oracle"
10+
endDelimiter=";"
11+
path="../scripts/tab1_seq.sql"
12+
relativeToChangelogFile="true"
13+
splitStatements="true"
14+
stripComments="false"/>
15+
</changeSet>
16+
<changeSet author="tim" id="tab1">
17+
<sqlFile dbms="oracle"
18+
endDelimiter=";"
19+
path="../scripts/tab1.sql"
20+
relativeToChangelogFile="true"
21+
splitStatements="true"
22+
stripComments="false"/>
23+
</changeSet>
24+
<changeSet author="tim" id="get_tab1_count">
25+
<sqlFile dbms="oracle"
26+
endDelimiter=";"
27+
path="../scripts/get_tab1_count.sql"
28+
relativeToChangelogFile="true"
29+
splitStatements="false"
30+
stripComments="false"/>
31+
</changeSet>
32+
</databaseChangeLog>
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+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
7+
8+
<changeSet author="tim" id="tab2_seq">
9+
<sqlFile dbms="oracle"
10+
endDelimiter=";"
11+
path="../scripts/tab2_seq.sql"
12+
relativeToChangelogFile="true"
13+
splitStatements="true"
14+
stripComments="false"/>
15+
</changeSet>
16+
<changeSet author="tim" id="tab2">
17+
<sqlFile dbms="oracle"
18+
endDelimiter=";"
19+
path="../scripts/tab2.sql"
20+
relativeToChangelogFile="true"
21+
splitStatements="true"
22+
stripComments="false"/>
23+
</changeSet>
24+
</databaseChangeLog>

0 commit comments

Comments
 (0)