WL#14242: TABLE ACCESS SERVICE

Affects: Server-8.0   —   Status: Complete

Summary:
========

Provide a service to access a given table.

This is helpful for components that needs to access configuration data
stored in SQL tables.

Details:
========

Provide, as a service, the following functionality:

Database session:
- create / destroy a session
- commit or rollback changes done in a session

For a session:
- adding all the tables involved
- open and lock tables
- perform table DML
- commit or rollback the session

For table DML:
- Full table scan, similar to a rnd_init / rnd_next / rnd_end loop.
- Full index scan, similar to an index_init / index_first / index_next / index_end loop
- Index fetch, similar to an index_init / inded_read_map / index_next_same / index_end loop
- Insert row
- Update row
- Delete row

Restrictions:
=============

Only base tables can be accessed (i.e., no views).

There are no privilege checks (i.e., no authorization).