Process Flow for non-Oracle Database Queries
There are a sequence of events that occur when a client application queries the non-Oracle database system through the gateway.
Figure 2-3 shows a typical gateway process flow.
-
The client application sends a query using Oracle Net to Oracle Database.
-
Heterogeneous Services and the gateway convert the SQL statement into a SQL statement understood by the non-Oracle system.
-
Oracle Database sends the query to the gateway using Oracle Net.
-
For the first transaction in a session, the gateway logs in to the non-Oracle system using a user name and password that is valid in the non-Oracle system.
-
The gateway retrieves data using SQL statements understood by the non-Oracle system.
-
The gateway converts retrieved data into a format compatible with Oracle Database.
-
The gateway returns query results to Oracle Database, again using Oracle Net Services.
-
Oracle Database passes the query results to the client application using Oracle Net Services. The database link remains open until the gateway session finished, or the client explicitly closes the database link.
Parent topic: The Role of the Heterogeneous Services Component