|
1 | 1 | # JSON Relational Duality Views
|
2 | 2 |
|
3 |
| -Json relational duality views give an abstraction layer on top of your data model. |
4 |
| -On top of a relational data model, you define JSON relational duality views, that provide a "document-like" view of the data. |
| 3 | +JSON relational duality views give an abstraction layer on top of your data model. On top of a relational data model, you define JSON relational duality views, that provide a "document-like" view of the data. A JSON-relational duality view exposes data stored in relational database tables as JSON documents. The documents are materialized — generated on demand, not stored as such. Duality views give your data both a conceptual and an operational duality: it's organized both relationally and hierarchically. You can base different duality views on data that's stored in one or more of the same tables, providing different JSON hierarchies over the same, shared data. |
| 4 | +This means that applications can access (create, query, modify) the same data as a set of JSON documents or as a set of related tables and columns, and both approaches can be employed at the same time. You can modify the data through the JRD view, just as if you were updating a JSON document .... and the relational data model is transparently updated. |
| 5 | +Reversely, if you update your relational data model, the JSON representation is updated too, and the changes are made visible through the JSON Relational Duality View. |
5 | 6 |
|
6 |
| -Beyond that, you can modify the data through the JRD view, just as if you were updating a JSON document .... and the relational data model is transparently updated. |
7 |
| - |
8 |
| -Reversely, if you update your relational data model, the JSON representation is updated too, and the changes are made visible through the JRD view. |
9 |
| - |
10 |
| -# When to use this asset? |
| 7 | +# Useful Links |
11 | 8 |
|
12 |
| -To learn about the JSON Relational Duality Views features. |
| 9 | +## Documentation |
| 10 | + |
| 11 | +- [JSON-Relational Duality Developer's Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/jsnvu/index.html) |
| 12 | +- [SQL Language Reference](https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/create-json-relational-duality-view.html) |
| 13 | +- [Restrictions for JSON-Relational Duality Views](https://docs.oracle.com/en/database/oracle/oracle-database/23/rnfre/json-duality-views-restrictions.html) |
13 | 14 |
|
14 |
| -# How to use this asset? |
| 15 | +## Blogs |
15 | 16 |
|
16 |
| -Run the scripts in your preferred SQL environment or IDE. |
| 17 | +- [JSON Relational Duality: The Revolutionary Unification of Document, Object, and Relational Models](https://blogs.oracle.com/database/post/json-relational-duality-app-dev) |
| 18 | +- [ODP.NET JSON Relational Duality and Oracle Database 23c Free](https://medium.com/oracledevs/odp-net-json-relational-duality-and-oracle-database-23c-free-9e4c03bdf41f) |
| 19 | +- [Oracle Database 23c JSON Relational Duality Views REST APIs](https://www.thatjeffsmith.com/archive/2023/04/oracle-database-23c-json-relational-duality-views-rest-apis/) |
17 | 20 |
|
18 |
| -# Useful Links |
19 |
| - |
20 |
| -- [Oracle Database 23c](https://www.oracle.com/database/23c/index.html) |
21 |
| - - Oracle Database 23c delivers the most complete and simple converged database for developers looking to build new microservices, graphs, documents, and relational applications. |
22 |
| -- [Database 19c online doc](https://docs.oracle.com/en/database/oracle/oracle-database/19/index.html) |
23 |
| -- [Database 23c online doc](https://docs.oracle.com/en/database/oracle/oracle-database/19/index.html) |
24 |
| -- [Database and Cloud Technology Blogs](https://blogs.oracle.com/coretec/category/crt-english-content) |
25 |
| - |
| 21 | +## LiveLabs |
26 | 22 |
|
27 |
| -## Livelabs Workshops |
28 |
| -- [Get Started with Oracle database](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=613) |
29 |
| -- [AutoREST with JSON Relational Duality Views in 23c Free](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3634) |
| 23 | +- [Exploring JSON Relational Duality Views in 23c Free using SQL](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3638&clear=RR,180&session=101604160358167) |
| 24 | +- [AutoREST with JSON Relational Duality Views in 23c Free](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3634&clear=RR,180&session=101604160358167) |
| 25 | +- [Exploring JSON Relational Duality Views in 23c Free with Java](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3637&clear=RR,180&session=101604160358167) |
| 26 | +- [Schröedinger's Document: JSON Relational Duality Views in Oracle 23c](https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=3753&clear=RR,180&session=101604160358167) |
30 | 27 |
|
31 |
| -## Step-by-step demo |
| 28 | +# Team Publications |
32 | 29 |
|
33 |
| -- This short demo, built on the OE sample schema, illustrates the basic concepts of JRD views. It was built and executed against a 23c free database running in a docker container. |
| 30 | +- [Demo running in a docker container](https://github.com/oracle-devrel/technology-engineering/tree/main/data-platform/core-converged-db/database-23c/json-relational-duality-views/demo) |
34 | 31 |
|
35 | 32 | # License
|
36 | 33 |
|
|
0 commit comments