Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 8c7fbc3

Browse files
initial commit based on content from salvis.com
0 parents  commit 8c7fbc3

12 files changed

+109
-0
lines changed

FAQ.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Frequently Asked Questions
2+
3+
## I cannot install any extension on macOS
4+
5+
Maybe you’ve run into a SQL Developer bug on macOS. See [this blog post](https://www.salvis.com/blog/2015/05/05/cannot-install-extensions-in-sql-developer-4-on-mac-os-x/) for problem details and solution.
6+
7+
## I cannot install any extension on Windows
8+
9+
Have you installed SQL Developer in `C:\Program Files` or `C:\Program Files(x86)`? In this case the files are read-only for a standard Windows user.
10+
11+
To solve the problem start SQL Developer as Administrator or install SQL Developer in an user folder. While the former requires local administrator rights, the latter is always feasible.
12+
13+
## I’ve got errors in the extensions log after installation. What’s wrong?
14+
15+
You are probably using an outdated version of SQL Developer. In this case you see after a restart an error message in the Extensions-Log similar to the following:
16+
17+
![Extensions Log](images/extensions-log.png)
18+
19+
SQL Developer 1.x, 2.x and 3.x are based on the Extension Software Development Kit (ESDK) version 1. SQL Developer 4.x requires the use of ESDK version 2. Unfortunately these versions are not compatible. So we decided to support the newest SQL Developer version only.
20+
21+
Please update to SQL Developer 4.x or later since this is a prerequisite for this extension.
22+
23+
## Is unwrapping code processed by the PL/SQL Wrapper of Oracle7, Oracle8, Oracle8i or Oracle9i supported?
24+
25+
No. Beginning with Oracle Database 10g, the algorithm of the PL/SQL Wrapper has changed. PL/SQL Unwrapper currently supports only the latest algorithm used in the PL/SQL Wrapper of Oracle Database 10g, 11g, 12c, 18c and 19c.
26+
27+
## Unwrap does nothing. What’s wrong?
28+
29+
Please check the Logging Page in the Logging window. One of the following error messages is expected:
30+
31+
- Could not unwrap this code. Most probably it was not wrapped with the Oracle 10g, 11g or 12c wrap utility.
32+
- SHA-1 hash values do not match. Expected ‘…’ but got ‘…’. Cannot unwrap code.
33+
34+
If you’ve got the latter message, the wrapped code has most probably been modified.
35+
36+
## What has changed in the latest version?
37+
38+
See the [release information](https://github.com/Trivadis/plsql-unwrapper-sqldev/releases) for each version.
39+
40+
## What are the licensing terms?
41+
42+
The preview/trial version of PL/SQL Cop is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. You may obtain a copy of the License at https://creativecommons.org/licenses/by-nc-nd/3.0/.
43+
44+
![CC-BY_NC-ND](images/CC-BY-NC-ND.png)

README.md

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# PL/SQL Unwrapper for SQL Developer
2+
3+
## Introduction
4+
5+
PL/SQL Unwrapper for SQL Developer is a free extension to unwrap PL/SQL code wrapped with the wrap utility of the Oracle Database Server version 10g, 11g, 12c, 18c or 19c.
6+
7+
## Example
8+
9+
Open a wrapped PL/SQL unit (procedure, function, package specification, package body, type specification or type body) in a SQL Developer editor
10+
11+
![Wrapped](images/unwrapper-1.png)
12+
13+
Right-click within editor to show the pop-up-menu. Select `Unwrap` or simply press `Ctrl-Shift-U` to unwrap the code.
14+
15+
![Unwrap](images/unwrapper-2.png)
16+
17+
The editor content is replaced by the unwrapped code.
18+
19+
![Unwrapped](images/unwrapper-3.png)
20+
21+
By default the unwrapped code does not contain a valid DDL statement. In this case the `CREATE` is missing. You may change this behaviour in in the preferences.
22+
23+
![Preferences](images/unwrapper-4.png)
24+
25+
Check the `Add ‘CREATE OR REPLACE'` option to get a complete DDL statement.
26+
27+
![Preferences](images/unwrapper-5.png)
28+
29+
## Bulk Unwrap
30+
31+
If you install [oddgen for SQL Developer](https://www.oddgen.org/) you will see a `PL/SQL Unwrapper` node in the `Generators` window:
32+
33+
![oddgen Generator](images/generators.png)
34+
35+
Open the PL/SQL Unwrapper node to show all wrapped objects in the navigator tree. Select one or more objects to unwrap. The following audioless video shows how to unwrap all package bodies in a schema in one go:
36+
37+
[![Unwrapper](images/unwrapper.png)](https://trivadis.github.io/plsql-unwrapper-sqldev/unwrapper.mp4)
38+
39+
## Configure Update Center
40+
41+
Click the `Help` menu and select `Check for Updates…`. Press the `Add` button to register the update center http://update.salvis.com/ . If you have troubles to configure the proxy settings, because your company requires some additional authentication or similar, then I suggest to download PL/SQL Unwrapper for SQL Developer from [here](https://github.com/Trivadis/plsql-unwrapper-sqldev/releases) and use the `Install From Local File` option.
42+
43+
![Update Center](images/salvis-update-center.png)
44+
45+
## Releases
46+
47+
You find all releases and release information [here](https://github.com/Trivadis/plsql-unwrapper-sqldev/releases).
48+
49+
## Issues
50+
Please file your bug reports, enhancement requests, questions and other support requests within [Github's issue tracker](https://help.github.com/articles/about-issues/).
51+
52+
* [Questions](https://github.com/trivadis/plsql-unwrapper-sqldev/issues?q=is%3Aissue+label%3Aquestion)
53+
* [Open enhancements](https://github.com/trivadis/plsql-unwrapper-sqldev/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement)
54+
* [Open bugs](https://github.com/trivadis/plsql-unwrapper-sqldev/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
55+
* [Submit new issue](https://github.com/trivadis/plsql-unwrapper-sqldev/issues/new)
56+
57+
## Frequently Asked Questions
58+
59+
see [Frequently Ased Questions](FAQ.md).
60+
61+
## License
62+
63+
PL/SQL Unwrapper is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. You may obtain a copy of the License at https://creativecommons.org/licenses/by-nc-nd/3.0/.
64+
65+
![CC-BY_NC-ND](images/CC-BY-NC-ND.png)

docs/unwrapper.mp4

11.1 MB
Binary file not shown.

images/extensions-log.png

16.5 KB
Loading

images/generators.png

32.3 KB
Loading

images/salvis-update-center.png

141 KB
Loading

images/unwrapper-1.png

157 KB
Loading

images/unwrapper-2.png

184 KB
Loading

images/unwrapper-3.png

138 KB
Loading

images/unwrapper-4.png

52.7 KB
Loading

images/unwrapper-5.png

139 KB
Loading

images/unwrapper.png

116 KB
Loading

0 commit comments

Comments
 (0)