Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring recursive calls for resolving complex types in cursor.
Changed `is_collection` and moved to `ut_cursor_column` Changed `get_anytype_members_info`, `get_attr_elem_info` and moved to `ut_compound_data_helper` Fixes to formatting.
- Loading branch information
Showing
7 changed files
with
292 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,46 @@ | ||
create or replace type ut_cursor_column force authid current_user as object | ||
( | ||
parent_name varchar2(4000), | ||
access_path varchar2(4000), | ||
has_nested_col number(1,0), | ||
transformed_name varchar2(32), | ||
hierarchy_level number, | ||
column_position number, | ||
xml_valid_name varchar2(128), | ||
column_name varchar2(128), | ||
column_type varchar2(128), | ||
column_type_name varchar2(128), | ||
column_schema varchar2(128), | ||
column_len integer, | ||
is_sql_diffable number(1, 0), | ||
is_collection number(1, 0), | ||
|
||
member procedure init(self in out nocopy ut_cursor_column, | ||
a_col_name varchar2, a_col_schema_name varchar2, | ||
a_col_type_name varchar2, a_col_max_len integer, a_parent_name varchar2 := null, a_hierarchy_level integer := 1, | ||
a_col_position integer, a_col_type in varchar2, a_collection integer,a_access_path in varchar2), | ||
|
||
constructor function ut_cursor_column( self in out nocopy ut_cursor_column, | ||
a_col_name varchar2, a_col_schema_name varchar2, | ||
a_col_type_name varchar2, a_col_max_len integer, a_parent_name varchar2 := null, a_hierarchy_level integer := 1, | ||
a_col_position integer, a_col_type in varchar2, a_collection integer,a_access_path in varchar2) | ||
return self as result, | ||
|
||
constructor function ut_cursor_column( self in out nocopy ut_cursor_column) return self as result | ||
) | ||
/ | ||
create or replace type ut_cursor_column force authid current_user as object ( | ||
/* | ||
utPLSQL - Version 3 | ||
Copyright 2016 - 2018 utPLSQL Project | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"): | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
parent_name varchar2(4000), | ||
access_path varchar2(4000), | ||
has_nested_col number(1,0), | ||
transformed_name varchar2(32), | ||
hierarchy_level number, | ||
column_position number, | ||
xml_valid_name varchar2(128), | ||
column_name varchar2(128), | ||
column_type varchar2(128), | ||
column_type_name varchar2(128), | ||
column_schema varchar2(128), | ||
column_len integer, | ||
is_sql_diffable number(1, 0), | ||
is_collection number(1, 0), | ||
|
||
member procedure init(self in out nocopy ut_cursor_column, | ||
a_col_name varchar2, a_col_schema_name varchar2, | ||
a_col_type_name varchar2, a_col_max_len integer, a_parent_name varchar2 := null, a_hierarchy_level integer := 1, | ||
a_col_position integer, a_col_type in varchar2, a_collection integer,a_access_path in varchar2), | ||
|
||
constructor function ut_cursor_column( self in out nocopy ut_cursor_column, | ||
a_col_name varchar2, a_col_schema_name varchar2, | ||
a_col_type_name varchar2, a_col_max_len integer, a_parent_name varchar2 := null, a_hierarchy_level integer := 1, | ||
a_col_position integer, a_col_type in varchar2, a_collection integer, a_access_path in varchar2) | ||
return self as result, | ||
|
||
constructor function ut_cursor_column( self in out nocopy ut_cursor_column) return self as result | ||
) | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
create or replace type ut_cursor_column_tab as table of ut_cursor_column | ||
create or replace type ut_cursor_column_tab as | ||
/* | ||
utPLSQL - Version 3 | ||
Copyright 2016 - 2018 utPLSQL Project | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"): | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
table of ut_cursor_column | ||
/ |
Oops, something went wrong.