Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Provision in ORDS for handling queries involving joins across multiple tables

IqbDec 24 2018 — edited Dec 26 2018

ORDS enables the Oracle database objects as REST API on which CRUD operations can be performed. However I would like to understand is there any provision there to handle the queries invoving multiple tables via JOINS.

For example, say I have a query like this:

select empname from employee e,dept d where e.deptid=d.deptid and deptname='IT';

Below is the table meta-data:

employee:

empid

empname

deptid

dept:

deptid

deptname

I do understand that we can create a handler wherein we can mention this query in the source and expose an ORDS API corresponding to this. However, I would like to expose only the database objects as REST APIs instead of creating handlers for each query.

Comments
Post Details
Added on Dec 24 2018
4 comments
538 views