如何恢复安装插件时崩溃的 Apex 应用程序?

How to restore Apex Application crashed while installing Plugin?

我正在使用 Apex 5 版本开发应用程序。在将 apex-plugin.com 中名为 excel2collection 的插件安装到共享组件时,整个应用程序被插件替换,现在我看不到任何页面或区域,它被替换为具有不同名称的相同应用程序编号。我不知道出了什么问题。

插件下载(它有助于引用源 - excel2collections on apex-plugin.com)包含一个演示应用程序(f101.sql)和实际插件。该插件是一个进程类型的插件,所以它不能覆盖一个应用程序。您可能安装了演示应用程序并用它替换了您自己的应用程序。
首先,应该警告您要小心您所做的和安装的事情。

要取回您自己的申请,您现在只有几个选择。

  1. 尝试通过导出闪回您的应用程序。编辑 应用程序,然后转到 Export/Import,选择导出。关于出口 页面,使用 "As of" 字段尝试将应用程序导出为 这是 x 分钟前(分钟!!)。 不过,阅读帮助会有所帮助,因为您可能 运行 遇到限制。

    Help on "As of" item on "Export" page:
    Specify a time in minutes to go to back to for your export. This option enables you to go back in time in your application, perhaps to get back a deleted object. This utility uses the dbms_flashback package. The timestamp to SCN (system change number) mapping is refreshed approximately every 5 minutes, so you may have to wait that long to get to the version you are looking for. The time undo information is retained by the startup parameter undo_retention (default 3 hrs), but this only influences the size of the undo tablespace. While two databases may have the same undo_retention parameter, you can go back much further in time on the database with less transactions since the transactions are not filling the undo tablespace, forcing older data to be archived.

    如果你的闪回不够远(或者根本没有...)...

  2. 安装应用程序的备份。也许你最近导出了
  3. 回滚数据库。要求 DBA 将数据库恢复到 希望是最近的备份。

如果其中有 none 个是您的选择,那么您就倒霉了,无能为力。重建,以后注意。