Skip to content

Commit

Permalink
Merge pull request #42 from OraMUC/development
Browse files Browse the repository at this point in the history
- Fixed: Pipelinded table function view_existing_apis fails because of missing column in record definition
- Fixed: Column compare not working correctly with RAW type columns - Thanks to Benjamin Stein (github.com/Asgarmagol) for the fix
  • Loading branch information
ogobrecht authored Mar 6, 2022
2 parents 31174d3 + 60c19ed commit 5c7d33b
Show file tree
Hide file tree
Showing 8 changed files with 1,280 additions and 54 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ SIGNATURE
```sql
PACKAGE om_tapigen AUTHID CURRENT_USER IS
c_generator CONSTANT VARCHAR2(10 CHAR) := 'OM_TAPIGEN';
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.6.0';
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.6.1';
```


Expand Down
2 changes: 2 additions & 0 deletions docs/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ const renderNavigation = function (type) {
return '<!-- nav -->\n\n' + menu + '\n<!-- navstop -->';
};

console.log('BUILD DOCS NAVIGATION');
glob('docs/*.md', function (err, files) {
if (err) throw err;
files.forEach(function (file) {
var content = fs.readFileSync(file, 'utf8');
console.log('- process file ' + file);
if (file === 'docs/README.md') {
content = content.replace(navRegex, renderNavigation('index'));
}
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Please use for all comments, discussions, feature requests or bug reports the Gi

<!-- toc -->

- [0.6.1 (2022-03-06)](#061-2022-03-06)
- [0.6.0 (2020-12-20)](#060-2020-12-20)
- [0.5.2 (2020-05-09)](#052-2020-05-09)
- [0.5.1 (2020-04-19)](#051-2020-04-19)
Expand All @@ -33,6 +34,11 @@ Please use for all comments, discussions, feature requests or bug reports the Gi

<!-- tocstop -->

## 0.6.1 (2022-03-06)

- Fixed: Pipelinded table function view_existing_apis fails because of missing column in record definition
- Fixed: Column compare not working correctly with RAW type columns - Thanks to Benjamin Stein (github.com/Asgarmagol) for the fix

## 0.6.0 (2020-12-20)

- added: support for bulk processing (generated per default as core functionality)
Expand Down
5 changes: 4 additions & 1 deletion om_tapigen_install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end;
prompt Compile package om_tapigen (spec)
CREATE OR REPLACE PACKAGE om_tapigen AUTHID CURRENT_USER IS
c_generator CONSTANT VARCHAR2(10 CHAR) := 'OM_TAPIGEN';
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.6.0';
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.6.1';
/**
Oracle PL/SQL Table API Generator
=================================
Expand Down Expand Up @@ -165,6 +165,7 @@ TYPE t_rec_existing_apis IS RECORD(
p_dml_view_name all_objects.object_name%TYPE,
p_dml_view_trigger_name all_objects.object_name%TYPE,
p_enable_one_to_one_view t_vc2_5,
p_one_to_one_view_name all_objects.object_name%TYPE,
p_api_name all_objects.object_name%TYPE,
p_sequence_name all_objects.object_name%TYPE,
p_exclude_column_list t_vc2_4k,
Expand Down Expand Up @@ -908,6 +909,8 @@ CREATE OR REPLACE PACKAGE BODY om_tapigen IS
'TO_CLOB(''@@@@@@@@@@@@@@@'')'
WHEN p_data_type = 'BLOB' THEN
'TO_BLOB(UTL_RAW.cast_to_raw(''@@@@@@@@@@@@@@@''))'
WHEN p_data_type = 'RAW' THEN
'UTL_RAW.cast_to_raw(''@@@@@@@@@@@@@@@'')'
WHEN p_data_type = 'XMLTYPE' THEN
'XMLTYPE(''<NULL/>'')'
ELSE
Expand Down
Loading

0 comments on commit 5c7d33b

Please sign in to comment.