Discussions
Categories
- 196.7K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.8K Databases
- 221.5K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 477 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.8K SQL & PL/SQL
- 21.2K SQL Developer
- 295.4K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.1K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 27 Java Learning Subscription
- 37K Database Connectivity
- 153 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 392 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 170 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 230 Portuguese
sqlcl (ver. 22.1.0.90.1611) throws error upon running lb update for apex app
SQLcl version: 22.1.0.90.1611 - April 5, 2022
java version "16.0.2" 2021-07-20
database version:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
steps to reproduce:
SQL> lb update -changelog YOURAPPEXAPPID.xml
--Starting Liquibase at 12:51:41 (version 4.7.1 #0 built at 2022-01-25 22:12+0000)
2022-05-03 12:51:41.247 SEVERE liquibase.parser cvc-complex-type.3.2.2: Attribute 'runInTrans' is not allowed to appear in element 'changeSet'.
cvc-complex-type.3.2.2: Attribute 'runInTrans' is not allowed to appear in element 'changeSet'.
There is no problem in previous sqlcl version:SQLcl version: 21.4.1.0 build: 21.4.1.17.1458
SQL> lb update -changelog YOURAPPEXAPPID.xml
ScriptRunner Executing: YOURAPPEXAPPID.xml::def123a94ee3657bcd71ee6ee51ce4dc28f2af9b::(WTC_APP)-Generated
-- DONE
2022-05-03 13:14:09.625 INFO liquibase.changelog Script executed successfully
2022-05-03 13:14:09.633 INFO liquibase.changelog ChangeSet YOURAPPEXAPPID.xml::def123a94ee3657bcd71ee6ee51ce4dc28f2af9b::(USER)-Generated ran successfully in 3319ms
2022-05-03 13:14:09.654 INFO liquibase.lockservice Successfully released change log lock
######## ERROR SUMMARY ##################
Errors encountered:0
######## END ERROR SUMMARY ##################
code difference within YOURAPPEXAPPID.xml between latest and previous sqlcl build:
...
<changeSet id="5076b7d8... runInTrans="false" >
...
Anyone else run into this with their apex app migration after downloading the new sqlcl version?
Best Answer
-
Bug confirmed by Oracle and fix is targeted for next release
Answers
-
I experienced the same issue with 22.1.0.90.1611. I dowloaded the previous version, ran the same commands and there is no error. 'runInTrans' property doesn't show up in the xml with 21.4.1.17.1458.
-
Exactly.
I opened a bug with Oracle SR.
-
Bug confirmed by Oracle and fix is targeted for next release
-
22.1.1.131.0820 released and bug fixed.
will try this out later