8000 Support native JSON data type of Oracle Database 21c by lwasylow · Pull Request #1181 · utPLSQL/utPLSQL · GitHub
[go: up one dir, main page]

Skip to content

Support native JSON data type of Oracle Database 21c #1181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 6, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test coverage and documentation
  • Loading branch information
lwasylow committed Feb 6, 2022
commit cbe03e830810da8ce588368eacc6504f1e42dd22
4 changes: 4 additions & 0 deletions docs/userguide/expectations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1645,6 +1645,10 @@ FAILURE

utPLSQL is capable of comparing json data-types of `json_element_t` **on Oracle 12.2 and above**, and also `json` **on Oracle 21 and above**

**Note:**
> Whenever a database is upgraded to compatible version the utPLSQL needs to be reinstalled to pick up json changes. E.g. upgrade from 18c to 21c to enable `json` type compare.


### Notes on comparison of json data

- Json data can contain objects, scalar or arrays.
Expand Down
2 changes: 0 additions & 2 deletions source/expectations/data_values/ut_compound_data_helper.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,6 @@ create or replace package body ut_compound_data_helper is
begin
$if dbms_db_version.version >= 21 $then
l_obj := case when a_json_t is null then cast (null as json_element_t ) else json_element_t.parse(json_query(a_json_t, '$' returning clob)) end;
$else
l_obj := null;
$end
return l_obj;
end;
Expand Down
0