Oracle – JSON Database Patch Bundle(s)

It has been a while I patched a local development database, but nowadays stuff gets implemented or fixed in the latest patch bundle (so on 12.n.n.n.x).

So when I today downloaded the current Windows patch bundle ( and applied the patch via OPatch, I had to figure out why I got the following message via the datapatch tool…

C:\app\product\12.1.0\dbhome_1\OPatch> datapatch -verbose

SQL Patching tool version on Tue Aug 18 10:59:18 2015
Copyright (c) 2015, Oracle.  All rights reserved.

Log file for this invocation: C:\app\cfgtoollogs\sqlpatch\sqlpatch_11144_2015_08_18_10_59_18\sqlpatch_invocation.log

Connecting to database...OK
Bootstrapping registry and package to current versions...done
Determining current state...done

Current state of SQL patches:
Patch 20080249 ():
  Not installed in binary or the SQL registry
Bundle series PSU:
  ID 7 in the binary registry and not installed in the SQL registry

Adding patches to installation queue and performing prereq checks...
Installation queue:
  The following patches will be rolled back:
    20080249 ()
  The following patches will be applied:

Error: prereq checks failed!
  patch 20080249: rollback script C:\app\product\12.1.0\dbhome_1\sqlpatch\20080249\18321548\20080249_rollback.sql does not exist
Prereq check failed, exiting without installing any patches.

Please refer to MOS Note 1609718.1 and/or the invocation log
for information on how to resolve the above errors.

SQL Patching tool complete on Tue Aug 18 10:59:53 2015


Error: prereq checks failed!
  patch 20080249: 
  rollback script ..\20080249_rollback.sql does not exist

Time to to lookup the reverenced patch 20080249. The interesting bit that came along while searching, looking up the patch number on the My Oracle Support site ( was:

In the “details” section it mentions:

This article is intended to provide the latest information about the Oracle JSON Merge Patch Bundles. This note will be constantly updated to reflect the latest patch bundle as they become available.

Current status regarding available JSON batch bundles:

Database Version JSON Patch Bundle # JSON Merge Patch JSON Patch Bundle 1 <Bug:20080249> JSON Patch Bundle 2 <Bug:20885778>

So if your interested in the progress and fixes for this latest feature in the Oracle database, native JSON database support, the mentioned MOS note here is one to keep track of and apply when needed…


Marco Gralike Written by: