Oracle官方线上活动:APEX Office Hours (北京时间6月28日22点)
本周四(06.28)北京时间晚上22点
,Oracle 官方举办 APEX Office Hours 在线活动, 所有的 Oracle APEX 研发成员都会参加,回答大家的任何问题。想关注 Oracle APEX 最新动态的同学一定不要错过!!
详细信息请猛戳这里:http://apex.oracle.com/officehours
Oracle APEX 中国区微信讨论群
新建了个微信讨论群,方便大家交流 Oracle APEX 心得体会,以后也会定期组织一些线下活动,一起打造咱们自己的 Oracle APEX 中国社区。
还不了解 Oracle APEX 的同学请阅读下列文章:
- Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技
- Oracle APEX 系列文章02:在阿里云上打造属于你自己的APEX完整开发环境 (安装 CentOS)
- Oracle APEX 系列文章03:在阿里云上打造属于你自己的APEX完整开发环境 (安装 Tomcat, Nginx)
- Oracle APEX 系列文章04:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
- Oracle APEX 系列文章05:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
- Oracle APEX 系列文章06:Oracle APEX 到底适不适合企业环境?
- Oracle APEX 系列文章07:Oracle APEX 18.1 新特性
- Oracle APEX 系列文章08:如何从 APEX 5.1.4 升级到 最新的 APEX 18.1
- Oracle APEX 系列文章09:为什么选择使用 Oracle APEX
- Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
- Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
- Oracle APEX 系列文章12:魔法秀,让你的 APEX 秒变 APP
Oracle APEX 系列文章12:魔法秀,让你的 H5 页面秒变 APP
钢哥的 Oracle APEX 系列文章:
- Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技
- Oracle APEX 系列文章02:在阿里云上打造属于你自己的APEX完整开发环境 (安装 CentOS)
- Oracle APEX 系列文章03:在阿里云上打造属于你自己的APEX完整开发环境 (安装 Tomcat, Nginx)
- Oracle APEX 系列文章04:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
- Oracle APEX 系列文章05:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
- Oracle APEX 系列文章06:Oracle APEX 到底适不适合企业环境?
- Oracle APEX 系列文章07:Oracle APEX 18.1 新特性
- Oracle APEX 系列文章08:如何从 APEX 5.1.4 升级到 最新的 APEX 18.1
- Oracle APEX 系列文章09:为什么选择使用 Oracle APEX
- Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
- Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
- Oracle APEX 系列文章12:魔法秀,让你的 H5 页面秒变 APP
- Oracle APEX 系列文章13:Oracle APEX 入门基础资料整理
- Oracle APEX 系列文章14:Oracle APEX 18.1 Docker 镜像
- Oracle APEX 系列文章15:无人值守一键安装Oracle APEX环境
- Oracle APEX 系列文章16:AOP - PDF报表打印新选择
- Oracle APEX 系列文章17:如何利用 Oracle APEX 助力企业应用开发
引言
很多时候我们也想要有自己的移动端APP,怎奈还要兼容 iOS、Android 不同平台,开发成本太高。昨天刷 twitter,无意中发现一个好玩的网站 https://gonative.io/,输入任意网址,就可以快速帮你创建好可以部署在 iOS 和 Android 平台上的代码(当然不是免费的,价目表在这里),用来测试移动端效果还不错,有类似需求的同学可以关注一下。
Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
引言
钢哥的 Oracle APEX 系列文章:
- Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技
- Oracle APEX 系列文章02:在阿里云上打造属于你自己的APEX完整开发环境 (安装 CentOS)
- Oracle APEX 系列文章03:在阿里云上打造属于你自己的APEX完整开发环境 (安装 Tomcat, Nginx)
- Oracle APEX 系列文章04:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
- Oracle APEX 系列文章05:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
- Oracle APEX 系列文章06:Oracle APEX 到底适不适合企业环境?
- Oracle APEX 系列文章07:Oracle APEX 18.1 新特性
- Oracle APEX 系列文章08:如何从 APEX 5.1.4 升级到 最新的 APEX 18.1
- Oracle APEX 系列文章09:为什么选择使用 Oracle APEX
- Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
- Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
- Oracle APEX 系列文章12:魔法秀,让你的 H5 页面秒变 APP
- Oracle APEX 系列文章13:Oracle APEX 入门基础资料整理
- Oracle APEX 系列文章14:Oracle APEX 18.1 Docker 镜像
- Oracle APEX 系列文章15:无人值守一键安装Oracle APEX环境
- Oracle APEX 系列文章16:AOP - PDF报表打印新选择
- Oracle APEX 系列文章17:如何利用 Oracle APEX 助力企业应用开发
目前主流的网站都要求 HTTPS 安全访问,Google Chrome 浏览器、微信内置浏览器打开非 HTTPS 的网页,都会提示不安全。如果做微信端开发,也是必须要 HTTPS 的网址才可以,可见 HTTPS 越来越重要了。
如果你按照钢哥之前的文章已经搭建好了 Oracle APEX 环境,那么你的应用架构应该如下图所示:
这里简单回顾一下各部分组件的作用:
- 用户在浏览器地址栏里输入URL,例如:https://apex.wangfanggang.com/ords/ (不要尝试打开这个网址了,我瞎写的)
- Nginx监听 HTTP (
80
) 端口和 HTTPS (443
) 端口,如果请求的是静态文件(如:image, js 或者 css),则直接获取/i/
目录中的内容,对于其他动态请求(如:APEX请求),转发至后端 Tomcat 服务器做进一步处理。 - Tomcat 服务器接收到请求后,会查找部署在它上面的应用,就是我们之前部署的
ORDS
应用; - 如果是 APEX 请求,ORDS 进一步将请求转发给 APEX (Oracle 数据库) 进行处理;如果是 ORDS 请求,自身进行处理;
原理比较简单,而我们要做的就是在 Nginx 层面将 HTTP 请求转发到 HTTPS 上,进而实现全站启用 HTTPS 访问。
Oracle APEX 活跃博文整理 | 2018.06
最新的 Oracle APEX 博文也已加入到 Oracle APEX Evangelion(EVA 补完计划) 中。
- Facebook, Google and Custom Authentication in the same Oracle APEX 18.1 app
2018.06
- Error!?! What’s going in APEX? The easiest way to Debug and Trace an Oracle APEX session
2018.06
- APEX 18.1: Debugging of the APEX sessions was never easier
2018.06
- APEX 18.1: Generate URL checksum outside APEX session
2018.06
- Check inside your APEX application if debug mode is enabled
2018.06
- Adding an Auto Save Feature to an APEX Page
2018.06
Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
Neon Genesis Evangelion(EVA) is one of my favorite cartoons, I use Evangelion
as the title to represent my respect for EVA. At meanwhile I wish this resource list would be the evangelion for Oracle APEXer all of the world.
Oracle APEX Learning Resources
Interactive Grid
- APEX interactive grids health check
2023.05
- APEX interactive grids & Invoke API with zero arguments
2023.05
- How to Save Data using Forms and Interactive Grids in Oracle APEX
2022.12
- Borderless & dynamic background colors in Interactive Grid
2022.09
- Hot or Not. Dynamically Styling the Interactive Grid’s Save Button
2022.06
- Enforcing the Execution Order of an Interactive Grid
2022.05
- Interactive Grid Validation
2022.04
- Trick to Reference Field Value in Dynamic Action on Grid Column
2022.02
- Interactive Grid - Process Filtered Data on Server Side
2021.10
- Interactive, User-Configurable Card Width
2021.10
- IG Hack - #4, Change the column width of Interactive Grid using JavaScript in Oracle APEX
2021.08
- Oracle APEX JavaScript - Get Column Value
2021.08
- Two ways to fetch the current records (Interactive Grid #10)
2021.04
- Customize your Toolbar (Interactive Grid #9)
2021.03
- Customize the Column Heading Menu (Interactive Grid #8)
2021.03
- Add details section to IG
2021.01
- Conditional Error Button On IG In Oracle APEX
2020.12
- Column “Read-only” Function (Interactive Grid #7)
2020.12
- How to dynamically compute Interactive Grid Columns in #orclAPEX 20.2
2020.12
- Displaying Master data in Detail IG Header
2020.11
- Column groups heading and styling (Interactive Grid #6)
2020.11
- Making Interactive Grid Rows Editable on Condition in Oracle Apex
2020.10
- Adding a download (blob) link and context menu to your Interactive Grid in Oracle APEX
2020.09
- Add awesome checkboxes and status fields in an Interactive Grid in Oracle APEX
2020.09
- Only allow numeric values as text input
2020.08
- Highlight cells based on value
2020.08
- Show an additional scrollbar on top
2020.07
- Automatically activate the “edit” mode on page load
2020.07
- Customizing Interactive Grid to improve your user’s productivity
2020.07
- Hide Interactive Grid And Interactive Report Setting Area in Oracle Apex
2020.04
- Oracle APEX Interactive Grid URL Filtering
2020.04
- APEX and IG validation part 2
2020.04
- APEX 20.1 finally introduces the APEX_IG package
2020.03
- Inserting Records into Interactive Grid Using JavaScript
2020.03
- Oracle Apex: Loop Through Interactive Grid Records
2020.03
- Extending interaction to Interactive Grids - Part II
2019.12
- Create Master-Detail Form/Interactive Grid
2019.11
- APEX IG Cookbook Update for 19.2
2019.11
- Interactive Grid: Create Custom Add Edit Save and Delete Buttons
2019.10
- Interactive Grid Get Selected Rows Example
2019.10
- Add Interactive Grid into a Form
2019.08
- Interactive Grid Tour App
2019.06
- Autoformat Numbers in an Interactive Grid
2019.05
- Filtering in the APEX Interactive Grid
2019.03
- APEX IG Cookbook Update for 19.1
2019.03
- Caution when using Suppress Change Event on an Interactive Grid Column
2019.02
- New declarative options for Interactive Grid
2019.02
- Rest Enabling the Interactive Grid - Part 2
2019.01
- Interactive Grid - Column stretching
2018.12
- JET Spark Charts in APEX Interactive Grid
2018.12
- Adding items to your Interactive Grid Toolbar
2018.12
- APEX client side error messages - apex.message.showErrors
2018.10
- Undocumented IG Features
2018.09
- Clearing error state of an Interactive Grid column
2018.09
- IG toolbar customization using a function
2018.09
- How to set IG default values for email fields when downloading report
2018.09
- APEX 18.1: Fix Interactive Grid JS error in translated apps
2018.08
- Set page items based on Interactive Grid selection
2018.08
- How to unmark the Row Selector of the first record in the Interactive Grid in APEX 18.1
2018.07
- Cross Row Interactive Grid Cascading LOVs
2018.07
- Disabling Interactive Grid Columns
2018.05
- Oracle APEX (Application Express) Interactive Grid Cheat Sheet
2018.04
- Oracle APEX Interactive Grid Cheat Sheet
2018.03
- Using the Context Menu and buttons, right click on grid / right click on grid / oracle apex
2018.02
- APEX 5.2 Clipboard
2018.02
- APEX and IG validation
2017.12
- How to customize toolbar buttons
2017.10
- APEX Interactive Grids - what I’ve learned so far
2017.08
- APEX Interactive Grid: Column Widths and noStretch
2017.07
- APEX Interactive Grid: JavaScript Basics Cheat Sheet
2017.07
- APEX 5.1 IG toolbar customization
2017.05
- Bulk Updating Interactive Grid Records
2017.03
- How to hack APEX Interactive Grid Part 4
2017.03
- How to hack APEX Interactive Grid Part 3
2017.02
- How to hack APEX Interactive Grid Part 2
2017.01
- How to hack APEX Interactive Grid Part 1
2017.01
- Interactive Grid column widths
2017.01
- Getting selected Rows in Oracle APEX Interactive Grid
2017.03
- APEX: Updating Interactive Grid Cells
2017.03
- Interactive Grids (Apex 5.1 EA) and TAPIs
2016.06
- Interactive Grid: Under the Hood
2016.06
How to upgrade Oracle APEX from 5.1.4 to 18.1
This is the 8th blog about Oracle APEX, you can find the full series list as below:
- Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技
- Oracle APEX 系列文章02:在阿里云上打造属于你自己的APEX完整开发环境 (安装 CentOS)
- Oracle APEX 系列文章03:在阿里云上打造属于你自己的APEX完整开发环境 (安装 Tomcat, Nginx)
- Oracle APEX 系列文章04:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
- Oracle APEX 系列文章05:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
- Oracle APEX 系列文章06:Oracle APEX 到底适不适合企业环境?
- Oracle APEX 系列文章07:Oracle APEX 18.1 新特性
- Oracle APEX 系列文章08:如何从 APEX 5.1.4 升级到 最新的 APEX 18.1
- Oracle APEX 系列文章09:为什么选择使用 Oracle APEX
- Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
- Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
- Oracle APEX 系列文章12:魔法秀,让你的 H5 页面秒变 APP
- Oracle APEX 系列文章13:Oracle APEX 入门基础资料整理
- Oracle APEX 系列文章14:Oracle APEX 18.1 Docker 镜像
Introduction
Oracle APEX 18.1 has already been published several days, I believe most of apexers had tried it. The next thing we need to do is how to upgrade Oracle APEX from earlier version (such as 5.1.4) to the latest 18.1.
I quickly go through Oracle APEX 18.1 installation guide but not find a upgrade script I could use (even if there is also a sql named
apxpatch.sql
, I didn’t try it yet). Since the new APEX (db) schema isAPEX_180100
, I guess I have to reinstall APEX 18.1 this time.
The following upgrade steps are based on CentOS 6, Oracle database is 11gR2 and APEX 5.1.4.
The wonderful part I find out is I don’t have to reinstall my existed APEX applications after I upgrade APEX 18.1. All my data is still there (workspace, application and so on) and I could continue to use them painlessly. Thanks to what Oracle APEX team did!!
Here is a component list we could upgrade:
APEX
:we will upgrade from earlier version to the latest 18.1;ORDS
:we will also upgrade it to the latest 18.1, and re-config and deploy to tomcat;JAVA
:ORDS 18.1 requires the lowest version of JDK/JRE is 1.8 or above;Tomcat
:ORDS 18.1 requires the lowest version of tomcat server is 8.5 or above;Nignx
:we need to adjust some configurations in nginx.conf if necessary;
OK, let’s begin the upgrade process.
Oracle APEX 系列文章8:如何从 APEX 5.1.4 升级到最新的 APEX 18.1
钢哥的 Oracle APEX 系列文章:
- Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技
- Oracle APEX 系列文章02:在阿里云上打造属于你自己的APEX完整开发环境 (安装 CentOS)
- Oracle APEX 系列文章03:在阿里云上打造属于你自己的APEX完整开发环境 (安装 Tomcat, Nginx)
- Oracle APEX 系列文章04:在阿里云上打造属于你自己的APEX完整开发环境 (安装XE, ORDS, APEX)
- Oracle APEX 系列文章05:在阿里云上打造属于你自己的APEX完整开发环境 (进一步优化)
- Oracle APEX 系列文章06:Oracle APEX 到底适不适合企业环境?
- Oracle APEX 系列文章07:Oracle APEX 18.1 新特性
- Oracle APEX 系列文章08:如何从 APEX 5.1.4 升级到 最新的 APEX 18.1
- Oracle APEX 系列文章09:为什么选择使用 Oracle APEX
- Oracle APEX 系列文章10:Oracle APEX Evangelion(EVA 补完计划)
- Oracle APEX 系列文章11:全站启用 HTTPS,让你的 APEX 更安全
- Oracle APEX 系列文章12:魔法秀,让你的 H5 页面秒变 APP
- Oracle APEX 系列文章13:Oracle APEX 入门基础资料整理
- Oracle APEX 系列文章14:Oracle APEX 18.1 Docker 镜像
- Oracle APEX 系列文章15:无人值守一键安装Oracle APEX环境
- Oracle APEX 系列文章16:AOP - PDF报表打印新选择
- Oracle APEX 系列文章17:如何利用 Oracle APEX 助力企业应用开发
引言
Oracle APEX 18.1 发布已经有几天了,相信很多搞APEX的同学都尝过鲜了,接下来需要面临的问题就是如何从早期的 APEX 版本升级到最新的 APEX 18.1。
简单看了一下 APEX 18.1 的文档,并没有提到有现成的升级脚本文件可以跑(虽然安装目录下也有个叫
apxpatch.sql
的鬼)。由于新版本的 APEX 的 DB Schema 已经变成了APEX_180100
,猜测跟之前 APEX 4 升到 5 一样,没办法直接升级。
以下升级过程是跑在 CentOS 6 上的,数据库用的是 Oracle Database 11gR2,APEX 版本是 5.1.4。
另外如果不更换数据库,已有的 APEX Application 应用、Workspace 及 Schema 都不需要改,升级后还可以使用,这一点要为 APEX 研发部门点赞!!
闲话少说,以下就是涉及到的组件:
APEX
:这个自不必说,不管之前用的是 3、4 还是 5 版本的,都要升级到最新的18.1
;ORDS
:同步升级到最新的 18.1 版本,并重新配置部署到 Tomcat 8.5 上;JAVA
:ORDS 18.1 要求 JDK/JRE 最低版本1.8
以上;Tomcat
:ORDS 18.1 要求 Tomcat 最低版本8.5
以上;Nignx
:需要重新配置参数(SSL证书、静态文件路径等);
下面就让钢哥带你开始今天的 APEX 升级(踩坑)之旅!