{"id":10802,"date":"2020-11-01T16:37:09","date_gmt":"2020-11-01T15:37:09","guid":{"rendered":"https:\/\/www.salvis.com\/blog\/?p=10802"},"modified":"2023-11-08T12:57:44","modified_gmt":"2023-11-08T11:57:44","slug":"patching-sql-developer-20-2-with-sqlcls-formatter","status":"publish","type":"post","link":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/","title":{"rendered":"Patching SQL Developer 20.2 with SQLcl&#8217;s Formatter"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>SQLcl 20.3.0 was released on October 29, 2020. It&#8217;s the first time I remember that we have a SQLcl version without the corresponding SQL Developer version. This is a pity because this SQLcl version also contains formatter fixes. And formatting code is something I do more often in the full-blown IDE than in the stripped-down command line interface. In this blog post, I show you how you can patch your SQL Developer installation and make the formatter fixes available there as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Disclaimer<\/h2>\n\n\n\n<p>What I do here is an experiment and most probably not really legal. It&#8217;s nothing I suggest you should do in your production environment. If you feel uneasy, don&#8217;t do it. What you do might destroy your SQL Developer installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>For this experiment you need<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SQLcl 20.3.0<\/li>\n\n\n\n<li>SQL Developer 20.2.0<\/li>\n\n\n\n<li>JDK8 or JDK11<\/li>\n<\/ul>\n\n\n\n<p>These software components are all installed on your computer. I do not explain in this blog post how to do it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution Approach<\/h2>\n\n\n\n<p>SQLcl and SQL Developer provide a <code>dbtools-common.jar<\/code> file. This file contains the formatter (besides other things). We copy this file from the SQLcl installation to the SQL Developer installation.<\/p>\n\n\n\n<p>That would be all if SQL Developer would load the Guava library before opening a connection. But it does not because it was not required for version 20.2 of <code>dbtools-common.jar<\/code>. Therefore we put the <code>VersionTracker.class<\/code> and the <code>SetServerOutput.class<\/code> (which do not use Guava) from the original SQL Developer installation into the <code>dbtools-common.jar<\/code> file.<\/p>\n\n\n\n<p>Another option would be to embed the classes from the&nbsp;<code>guava.jar<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step by Step Instruction<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Quit SQL Developer<\/h3>\n\n\n\n<p>We are going to patch SQL Developer. This is not possible on Windows if SQL Developer is running. On other OS this might have strange effects. Therefore quit SQL Developer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Rename SQLDev&#8217;s <code>dbtools-common.jar<\/code><\/h3>\n\n\n\n<p>Find the <code>dbtools-common.jar<\/code> in your SQL Developer installation. In my case the file is in this directory: <code>\/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib<\/code>. Rename this file to <code>dbtools-common.original.jar<\/code>.<\/p>\n\n\n<div class=\"jq-tabs tabs_wrapper tabs_horizontal\"><ul><li><a href=\"#tab-69f3602b93da4-1\">macOS<\/a><\/li><li><a href=\"#tab-69f3602b93da4-2\">Windows<\/a><\/li><\/ul><div id=\"tab-69f3602b93da4-1\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Rename SQLDev&#8217;s dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib\nmv dbtools-common.jar dbtools-common.original.jar\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">cd<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">mv<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.original.jar<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><div id=\"tab-69f3602b93da4-2\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Rename SQLDev&#8217;s dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd C:\\app\\sqldeveloper20.2.0\\sqldeveloper\\lib\nren dbtools-common.jar dbtools-common.original.jar\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">cd C:\\app\\sqldeveloper20.<\/span><span style=\"color: #B5CEA8\">2.0<\/span><span style=\"color: #D4D4D4\">\\sqldeveloper\\lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">ren dbtools-common.jar dbtools-common.original.jar<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Copy SQLcl&#8217;s <code>dbtools-common.jar<\/code><\/h3>\n\n\n\n<p>Find the <code>dbtools-common.jar<\/code> in your SQLcl installation. In my case, the file is in this directory: <code>\/usr\/local\/bin\/sqlcl\/lib<\/code>. Copy the file to the SQLDev&#8217;s directory (where the <code>dbtools-common.original.jar<\/code> is located).<\/p>\n\n\n<div class=\"jq-tabs tabs_wrapper tabs_horizontal\"><ul><li><a href=\"#tab-69f3602b93f4f-1\">macOS<\/a><\/li><li><a href=\"#tab-69f3602b93f4f-2\">Windows<\/a><\/li><\/ul><div id=\"tab-69f3602b93f4f-1\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Copy SQLcl\u2019s dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/usr\/local\/bin\/sqlcl\/lib\ncp dbtools-common.jar \/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">cd<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/local\/bin\/sqlcl\/lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">cp<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><div id=\"tab-69f3602b93f4f-2\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Copy SQLcl\u2019s dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd C:\\app\\sqlcl\\lib\ncopy dbtools-common.jar C:\\app\\sqldeveloper20.2.0\\sqldeveloper\\lib\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">cd C:\\app\\sqlcl\\lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">copy dbtools-common.jar C:\\app\\sqldeveloper20.<\/span><span style=\"color: #B5CEA8\">2.0<\/span><span style=\"color: #D4D4D4\">\\sqldeveloper\\lib<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4 &#8211; Patch <code>dbtools-common.jar<\/code><\/h3>\n\n\n\n<p>Open a terminal window and change to the directory of the <code>dbtools-common.original.jar<\/code> file. Run there the following commands to create a patched version of <code>dbtools-common.jar<\/code>:<\/p>\n\n\n<div class=\"jq-tabs tabs_wrapper tabs_horizontal\"><ul><li><a href=\"#tab-69f3602b940da-1\">macOS<\/a><\/li><li><a href=\"#tab-69f3602b940da-2\">Windows<\/a><\/li><\/ul><div id=\"tab-69f3602b940da-1\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Patch dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib\njar -xvf dbtools-common.original.jar oracle\/dbtools\/db\/VersionTracker.class\njar -xvf dbtools-common.original.jar oracle\/dbtools\/raptor\/newscriptrunner\/commands\/SetServerOutput.class\njar -u0vMf dbtools-common.jar oracle\/dbtools\nrm -rf oracle\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">cd<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/Applications\/SQLDeveloper20.2.0.app\/Contents\/Resources\/sqldeveloper\/sqldeveloper\/lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-xvf<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.original.jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">oracle\/dbtools\/db\/VersionTracker.class<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-xvf<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.original.jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">oracle\/dbtools\/raptor\/newscriptrunner\/commands\/SetServerOutput.class<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-u0vMf<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">dbtools-common.jar<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">oracle\/dbtools<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">rm<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-rf<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">oracle<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><div id=\"tab-69f3602b940da-2\" ><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">Patch dbtools-common.jar<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd C:\\app\\sqldeveloper20.2.0\\sqldeveloper\\lib\njar -xvf dbtools-common.original.jar oracle\/dbtools\/db\/VersionTracker.class\njar -xvf dbtools-common.original.jar oracle\/dbtools\/raptor\/newscriptrunner\/commands\/SetServerOutput.class\njar -u0vMf dbtools-common.jar oracle\/dbtools\nrmdir \/s \/q oracle\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">cd C:\\app\\sqldeveloper20.<\/span><span style=\"color: #B5CEA8\">2.0<\/span><span style=\"color: #D4D4D4\">\\sqldeveloper\\lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">jar -xvf dbtools-common.original.jar oracle\/dbtools\/db\/VersionTracker.class<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">jar -xvf dbtools-common.original.jar oracle\/dbtools\/raptor\/newscriptrunner\/commands\/SetServerOutput.class<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">jar -u0vMf dbtools-common.jar oracle\/dbtools<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">rmdir \/s \/q oracle<\/span><\/span><\/code><\/pre><\/div>\n\n\n<p><\/div><\/div>\n\n\n\n<p>Here is some explanation:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, we change to the directory where the files dbtools-common.original.jar (version 20.2.0) and dbtools-common.jar (version 20.3.0)\u00a0 are stored. In your case, the directory name may differ.<\/li>\n\n\n\n<li>On the second and third line, we extract the <code>VersionTracker.class<\/code> and the <code>SetServerOutput.class<\/code> from the <code>dbtools-common.original.jar<\/code> file. The classes are stored in a newly created directory <code>oracle<\/code>.<\/li>\n\n\n\n<li>On the fourth line, we copy the previously extracted classes into the <code>dbtools-common.jar<\/code> file.<\/li>\n\n\n\n<li>And on the last line, we remove the <code>oracle<\/code> directory and its subdirectories.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Formatter Improvements<\/h3>\n\n\n\n<p>An example is the best to show the difference between version 20.2 and 20.3. I use the default formatter settings with just one change. &#8220;No breaks&#8221; for &#8220;Line Breaks On Boolean connectors&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs.png\"><img loading=\"lazy\" decoding=\"async\" width=\"349\" height=\"567\" src=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs.png\" alt=\"\" class=\"wp-image-10821\" srcset=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs.png 349w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs-185x300.png 185w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs-90x146.png 90w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs-31x50.png 31w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs-46x75.png 46w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev_formatter_prefs-1x2.png 1w\" sizes=\"auto, (max-width:767px) 349px, 349px\" \/><\/a><\/figure>\n\n\n\n<p>And here are the results after formatting the code once.<\/p>\n\n\n<div class=\"jq-tabs tabs_wrapper tabs_horizontal\"><ul><li><a href=\"#tab-69f3602b941d6-1\">SQLDev 20.2 (patched)<\/a><\/li><li><a href=\"#tab-69f3602b941d6-2\">SQLDev 20.2 (original)<\/a><\/li><\/ul><div id=\"tab-69f3602b941d6-1\" ><\/p>\n<p><a href=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10822\" src=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched.png\" alt=\"\" width=\"801\" height=\"200\" srcset=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched.png 801w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched-300x75.png 300w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched-768x192.png 768w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched-260x65.png 260w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched-50x12.png 50w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-patched-150x37.png 150w\" sizes=\"auto, (max-width:767px) 480px, (max-width:801px) 100vw, 801px\" \/><\/a><\/p>\n<p><\/div><div id=\"tab-69f3602b941d6-2\" ><\/p>\n<p><a href=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10824\" src=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original.png\" alt=\"\" width=\"801\" height=\"202\" srcset=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original.png 801w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original-300x76.png 300w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original-768x194.png 768w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original-260x66.png 260w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original-50x13.png 50w, https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/sqldev-20.2-original-150x38.png 150w\" sizes=\"auto, (max-width:767px) 480px, (max-width:801px) 100vw, 801px\" \/><\/a><\/p>\n<p><\/div><\/div>\n\n\n\n<p>There are two significant improvements to the formatter. Both are related to comment and whitespace handling and therefore are independent of an Arbori program.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The line of code after a comment is no longer indented additionally.<\/li>\n\n\n\n<li>The line break after a single-line comment is no longer lost. As a result, the formatter will no longer comment out code.<\/li>\n<\/ul>\n\n\n\n<p>While the first bug leads to badly formatted code, the second bug is really nasty. It breaks your code. This happens when you use single-line comments on consecutive lines. In most cases, this will lead to compile errors. However, I showed that the resulting code may be syntactically correct and a wrong formatting result could go unnoticed.<\/p>\n\n\n\n<p><em>Updated on 2020-11-03, fixed typo in jar file names (<code>db-common...<\/code> to <code>dbtools-common...<\/code>).<\/em><\/p>\n\n\n\n<p><em>Updated on 2020-11-05, added <code>SetServerOutput.class<\/code> to the patched jar file. Otherwise, no SQL can be processed in a worksheet. Mentioned an alternative option to embed the classes from the <code>guava.jar<\/code>. Renamed chapter &#8220;Overview&#8221; to &#8220;Solution Approach&#8221;.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction SQLcl 20.3.0 was released on October 29, 2020. It&#8217;s the first time I remember that we have a SQLcl version without the corresponding SQL Developer version. This is a pity because this SQLcl version also contains formatter fixes. And formatting code is something I do more often in the full-blown IDE<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":10834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[129,13,85,87,126],"class_list":["post-10802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle","tag-arbori","tag-plsql","tag-sql","tag-sql-developer","tag-sqlcl"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Patching SQL Developer 20.2 with SQLcl&#039;s Formatter - Philipp Salvisberg&#039;s Blog<\/title>\n<meta name=\"description\" content=\"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Patching SQL Developer 20.2 with SQLcl&#039;s Formatter - Philipp Salvisberg&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/\" \/>\n<meta property=\"og:site_name\" content=\"Philipp Salvisberg&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-01T15:37:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-08T11:57:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Philipp Salvisberg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@phsalvisberg\" \/>\n<meta name=\"twitter:site\" content=\"@phsalvisberg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Philipp Salvisberg\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/\"},\"author\":{\"name\":\"Philipp Salvisberg\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#\\\/schema\\\/person\\\/34352245c48678b1a5a05d4bc1339515\"},\"headline\":\"Patching SQL Developer 20.2 with SQLcl&#8217;s Formatter\",\"datePublished\":\"2020-11-01T15:37:09+00:00\",\"dateModified\":\"2023-11-08T11:57:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/\"},\"wordCount\":737,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#\\\/schema\\\/person\\\/34352245c48678b1a5a05d4bc1339515\"},\"image\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/SQLDeveloperPatched.png\",\"keywords\":[\"Arbori\",\"PL\\\/SQL\",\"SQL\",\"SQL Developer\",\"SQLcl\"],\"articleSection\":[\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/\",\"url\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/\",\"name\":\"Patching SQL Developer 20.2 with SQLcl's Formatter - Philipp Salvisberg&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/SQLDeveloperPatched.png\",\"datePublished\":\"2020-11-01T15:37:09+00:00\",\"dateModified\":\"2023-11-08T11:57:44+00:00\",\"description\":\"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/SQLDeveloperPatched.png\",\"contentUrl\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/SQLDeveloperPatched.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/2020\\\/11\\\/01\\\/patching-sql-developer-20-2-with-sqlcls-formatter\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Patching SQL Developer 20.2 with SQLcl&#8217;s Formatter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/\",\"name\":\"Philipp Salvisberg&#039;s Blog\",\"description\":\"Database-centric development\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#\\\/schema\\\/person\\\/34352245c48678b1a5a05d4bc1339515\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/#\\\/schema\\\/person\\\/34352245c48678b1a5a05d4bc1339515\",\"name\":\"Philipp Salvisberg\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/11\\\/phs_trivadis4.jpg\",\"url\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/11\\\/phs_trivadis4.jpg\",\"contentUrl\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/11\\\/phs_trivadis4.jpg\",\"width\":400,\"height\":400,\"caption\":\"Philipp Salvisberg\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.salvis.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/11\\\/phs_trivadis4.jpg\"},\"sameAs\":[\"http:\\\/\\\/www.salvis.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Patching SQL Developer 20.2 with SQLcl's Formatter - Philipp Salvisberg&#039;s Blog","description":"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/","og_locale":"en_US","og_type":"article","og_title":"Patching SQL Developer 20.2 with SQLcl's Formatter - Philipp Salvisberg&#039;s Blog","og_description":"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.","og_url":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/","og_site_name":"Philipp Salvisberg&#039;s Blog","article_published_time":"2020-11-01T15:37:09+00:00","article_modified_time":"2023-11-08T11:57:44+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png","type":"image\/png"}],"author":"Philipp Salvisberg","twitter_card":"summary_large_image","twitter_creator":"@phsalvisberg","twitter_site":"@phsalvisberg","twitter_misc":{"Written by":"Philipp Salvisberg","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#article","isPartOf":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/"},"author":{"name":"Philipp Salvisberg","@id":"https:\/\/www.salvis.com\/blog\/#\/schema\/person\/34352245c48678b1a5a05d4bc1339515"},"headline":"Patching SQL Developer 20.2 with SQLcl&#8217;s Formatter","datePublished":"2020-11-01T15:37:09+00:00","dateModified":"2023-11-08T11:57:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/"},"wordCount":737,"commentCount":1,"publisher":{"@id":"https:\/\/www.salvis.com\/blog\/#\/schema\/person\/34352245c48678b1a5a05d4bc1339515"},"image":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#primaryimage"},"thumbnailUrl":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png","keywords":["Arbori","PL\/SQL","SQL","SQL Developer","SQLcl"],"articleSection":["Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/","url":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/","name":"Patching SQL Developer 20.2 with SQLcl's Formatter - Philipp Salvisberg&#039;s Blog","isPartOf":{"@id":"https:\/\/www.salvis.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#primaryimage"},"image":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#primaryimage"},"thumbnailUrl":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png","datePublished":"2020-11-01T15:37:09+00:00","dateModified":"2023-11-08T11:57:44+00:00","description":"In this blog post I show you how to patch your SQL Developer 20.2 installation to make the formatter fixes of SQLcl 20.3 available.","breadcrumb":{"@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#primaryimage","url":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png","contentUrl":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2020\/11\/SQLDeveloperPatched.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.salvis.com\/blog\/2020\/11\/01\/patching-sql-developer-20-2-with-sqlcls-formatter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.salvis.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Patching SQL Developer 20.2 with SQLcl&#8217;s Formatter"}]},{"@type":"WebSite","@id":"https:\/\/www.salvis.com\/blog\/#website","url":"https:\/\/www.salvis.com\/blog\/","name":"Philipp Salvisberg&#039;s Blog","description":"Database-centric development","publisher":{"@id":"https:\/\/www.salvis.com\/blog\/#\/schema\/person\/34352245c48678b1a5a05d4bc1339515"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.salvis.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.salvis.com\/blog\/#\/schema\/person\/34352245c48678b1a5a05d4bc1339515","name":"Philipp Salvisberg","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2010\/11\/phs_trivadis4.jpg","url":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2010\/11\/phs_trivadis4.jpg","contentUrl":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2010\/11\/phs_trivadis4.jpg","width":400,"height":400,"caption":"Philipp Salvisberg"},"logo":{"@id":"https:\/\/www.salvis.com\/blog\/wp-content\/uploads\/2010\/11\/phs_trivadis4.jpg"},"sameAs":["http:\/\/www.salvis.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/posts\/10802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/comments?post=10802"}],"version-history":[{"count":40,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/posts\/10802\/revisions"}],"predecessor-version":[{"id":12697,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/posts\/10802\/revisions\/12697"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/media\/10834"}],"wp:attachment":[{"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/media?parent=10802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/categories?post=10802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.salvis.com\/blog\/wp-json\/wp\/v2\/tags?post=10802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}