Skip to content

Commit 1feb43b

Browse files
committed
new helper function get_default_row
1 parent d5928e7 commit 1feb43b

File tree

6 files changed

+6189
-6060
lines changed

6 files changed

+6189
-6060
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ SIGNATURE
8383
```sql
8484
PACKAGE om_tapigen AUTHID CURRENT_USER IS
8585
c_generator CONSTANT VARCHAR2(10 CHAR) := 'OM_TAPIGEN';
86-
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.5.2.39';
86+
c_generator_version CONSTANT VARCHAR2(10 CHAR) := '0.5.2.40';
8787
```
8888

8989

docs/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ Please use for all comments, discussions, feature requests or bug reports the Gi
4242
- added: support for naming all generated objects (parameters p_dml_view_name, p_dml_view_trigger_name and p_one_to_one_view_name)
4343
- added: double quoting of table and column names can now be configured (parameter p_double_quote_names, default true)
4444
- added: update function with return clause (mainly for use in create_or_update_row to prevent read row after update)
45+
- added: helper function get_default_row when p_enable_column_defaults is set to true (to support the row based create_row function)
4546
- added: unit tests with utPLSQL (it will be a permanent task to improve the tests with every new feature or bugfix)
4647
- removed: support for database versions < 12.1 - if this is a problem for you then use the generator version 0.5.2 (without all the new features, sorry...)
47-
- 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)
48+
- 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, sorry...)
4849
- removed: prevent updates if columns do not differ (remove was needed to support all possible column types and for performance reasons)
4950
- removed: parameter p_reuse_existing_api_params (usage was was not logic, simply provide always your needed parameters and create scripts or a wrapper)
5051
- 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)

docs/parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
## p_enable_column_defaults (since v0.5.0)
6868

6969
- Boolean, default: false
70-
- If true, the data dictionary defaults of the columns are used for the create methods
70+
- If true, the data dictionary defaults of the columns are used for the create methods; for the row based create methods you can use the helper function named `get_default_row`
7171

7272
## p_enable_update_of_rows (since v0.4.0)
7373

0 commit comments

Comments
 (0)