|
| 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 | + |
| 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 | + |
| 16 | + |
| 17 | +The editor content is replaced by the unwrapped code. |
| 18 | + |
| 19 | + |
| 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 | + |
| 24 | + |
| 25 | +Check the `Add ‘CREATE OR REPLACE'` option to get a complete DDL statement. |
| 26 | + |
| 27 | + |
| 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 | + |
| 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 | +[](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 | + |
| 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 | + |
0 commit comments