Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.4K Development
- 17 Developer Projects
- 139 Programming Languages
- 293.1K Development Tools
- 111 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 161 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 475 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Is there any way to deploy apex 21.1 version to apex 18.1?

Hi,
We made a hasty decision of upgrading our APEX development instance from 18.1 to version 21.1 over the weekend. Unfortunately, there were still on-going application enhancements in our dev instance and needs to be deployed to our Test and Prod instances accordingly.
However, when we try to export our applications from the dev instance (21.1) to our Test instance (18.1), it returns an error "NOT COMPATIBLE (Your export may contain calls not supported by your Application Express version.)"
Is there anyway we can export from the 21.1 that is compatible to the 18,1 version?
UPDATE:
Just wanted to add that the application compatibility mode is set to 5.1/18.1/18.2. This is in the version 21.1 instance where we do the export.
Regards,
Allen
Best Answer
-
Hi Allen,
I'm afraid we have never supported, and have no plans to support, importing & running an APEX app from a newer release in an older release. Please note that changing the compatibility mode will have no impact whatsoever in addressing this scenario.
One option you could consider is Reverting to a Previous Release After a Failed Upgrade Scenario, as outlined in the 21.1 Installation Guide. While your upgrade hasn't failed, you do have the ability to revert to the older release - as long as you haven't already removed the APEX_180100 schema, of course. If you must continue your development effort using APEX 18.1, in order to export/import to other environments, then this may be your best option. Please ensure you fully read the documentation before proceeding with this step.
Regards,
Hilary
Answers
-
That isn't possible. Target instance APEX version need to be same or higher. It has been always this way.
-
You could switch your app to 18 version compatibility (you have done that). You must also remove 21 features if you have any (and you have, because of the message you get). If you want to keep that features then it is not possible.
Is there any reason for having test instance on older version?
-
I have not added any version 21.1 feature when I exported the application but still it did not work.
We normally upgrade dev first, then test and so on. The problem was were not able to think this far when we decided to upgrade our dev intance to 21.1. I guest we could downgrade or use our test instance as our dev instance for now.
-
Hi Allen,
I'm afraid we have never supported, and have no plans to support, importing & running an APEX app from a newer release in an older release. Please note that changing the compatibility mode will have no impact whatsoever in addressing this scenario.
One option you could consider is Reverting to a Previous Release After a Failed Upgrade Scenario, as outlined in the 21.1 Installation Guide. While your upgrade hasn't failed, you do have the ability to revert to the older release - as long as you haven't already removed the APEX_180100 schema, of course. If you must continue your development effort using APEX 18.1, in order to export/import to other environments, then this may be your best option. Please ensure you fully read the documentation before proceeding with this step.
Regards,
Hilary