You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p_double_quote_names INBOOLEAN DEFAULT TRUE, -- If true, object names (owner, table, columns) are placed in double quotes.
115
115
p_default_bulk_limit ININTEGER DEFAULT 1000, -- The default bulk size for the set based methods (create_rows, read_rows, update_rows)
116
116
p_enable_dml_view INBOOLEAN DEFAULT FALSE, -- If true, a view with an instead of trigger is generated, which simply calls the API methods - can be useful for low code frontends like APEX.
117
-
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
117
+
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# , #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
118
+
p_dml_view_trigger_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view trigger - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
118
119
p_enable_one_to_one_view INBOOLEAN DEFAULT FALSE, -- If true, a 1:1 view with read only is generated - useful when you want to separate the tables into an own schema without direct user access.
119
-
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
120
-
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
120
+
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
121
+
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
121
122
p_sequence_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the create_row methods - same substitutions like with API name possible.
122
123
p_exclude_column_list INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded on inserts and updates (virtual columns are implicitly excluded).
123
124
p_audit_column_mappings INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded and populated by the API (you don't need a trigger for update_by, update_on...).
@@ -163,10 +164,11 @@ FUNCTION compile_api_and_get_code
163
164
p_double_quote_names INBOOLEAN DEFAULT TRUE, -- If true, object names (owner, table, columns) are placed in double quotes.
164
165
p_default_bulk_limit ININTEGER DEFAULT 1000, -- The default bulk size for the set based methods (create_rows, read_rows, update_rows)
165
166
p_enable_dml_view INBOOLEAN DEFAULT FALSE, -- If true, a view with an instead of trigger is generated, which simply calls the API methods - can be useful for low code frontends like APEX.
166
-
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
167
+
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# , #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
168
+
p_dml_view_trigger_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view trigger - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
167
169
p_enable_one_to_one_view INBOOLEAN DEFAULT FALSE, -- If true, a 1:1 view with read only is generated - useful when you want to separate the tables into an own schema without direct user access.
168
-
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
169
-
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
170
+
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
171
+
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
170
172
p_sequence_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the create_row methods - same substitutions like with API name possible.
171
173
p_exclude_column_list INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded on inserts and updates (virtual columns are implicitly excluded).
172
174
p_audit_column_mappings INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded and populated by the API (you don't need a trigger for update_by, update_on...).
@@ -214,10 +216,11 @@ FUNCTION get_code
214
216
p_double_quote_names INBOOLEAN DEFAULT TRUE, -- If true, object names (owner, table, columns) are placed in double quotes.
215
217
p_default_bulk_limit ININTEGER DEFAULT 1000, -- The default bulk size for the set based methods (create_rows, read_rows, update_rows)
216
218
p_enable_dml_view INBOOLEAN DEFAULT FALSE, -- If true, a view with an instead of trigger is generated, which simply calls the API methods - can be useful for low code frontends like APEX.
217
-
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
219
+
p_dml_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view - you can use substitutions like #TABLE_NAME# , #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
220
+
p_dml_view_trigger_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the DML view trigger - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
218
221
p_enable_one_to_one_view INBOOLEAN DEFAULT FALSE, -- If true, a 1:1 view with read only is generated - useful when you want to separate the tables into an own schema without direct user access.
219
-
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
220
-
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
222
+
p_one_to_one_view_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the 1:1 view - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
223
+
p_api_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the API - you can use substitutions like #TABLE_NAME#, #TABLE_NAME_26# or #TABLE_NAME_4_20# (treated as substr(table_name, 4, 20)).
221
224
p_sequence_name INVARCHAR2 DEFAULT NULL, -- If not null, the given name is used for the create_row methods - same substitutions like with API name possible.
222
225
p_exclude_column_list INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded on inserts and updates (virtual columns are implicitly excluded).
223
226
p_audit_column_mappings INVARCHAR2 DEFAULT NULL, -- If not null, the provided comma separated column names are excluded and populated by the API (you don't need a trigger for update_by, update_on...).
Copy file name to clipboardExpand all lines: docs/changelog.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,15 @@ Please use for all comments, discussions, feature requests or bug reports the Gi
39
39
- added: support for audit columns (parameters p_audit_column_mappings and p_audit_user_expression)
40
40
- added: support for a row version column (parameter p_row_version_column_mapping)
41
41
- added: support for a 1:1 view with read only (parameter p_enable_one_to_one_view)
42
-
- added: support for naming the generated views (parameters p_dml_view_name and p_one_to_one_view_name)
42
+
- added: support for naming all generated objects (parameters p_dml_view_name, p_dml_view_trigger_name and p_one_to_one_view_name)
43
43
- added: double quoting of table and column names can now be configured (parameter p_double_quote_names, default true)
44
44
- added: update function with return clause (mainly for use in create_or_update_row to prevent read row after update)
45
45
- added: unit tests with utPLSQL (it will be a permanent task to improve the tests with every new feature or bugfix)
46
46
- removed: support for a generic change log (parameter p_enable_generic_change_log - makes no sense anymore with bulk processing and multi column primary keys)
47
47
- removed: prevent updates if columns do not differ (remove was needed to support all possible column types and for performance reasons)
48
48
- removed: parameter p_reuse_existing_api_params (usage was was not logic, simply provide always your needed parameters and create scripts or a wrapper)
49
49
- removed: procedure recreate_existing_apis (this was a parameterless procedure which reused the existing API parameters, you can still do this with the help of the pipelined function view_existing_apis)
50
-
- fixed: identity columns are always hidden on create methods (is now handled correct and in the sense of an API)
50
+
- fixed: identity columns are always hidden on create methods (is now handled correct and in the sense of a table API)
0 commit comments