ODAC (V9.5.15) study notes (16) Direct access mode

Source: Internet
Author: User

Direct mode is one of the biggest features of ODAC, which means that no Oracle client installation is required, Odac crosses the OCI (Oracle call Interface) and communicates directly with the Oracle server using the TCP/IP protocol. This makes the ODAC program very easy to deploy and has very high performance.

To set the direct access mode, you only need to set the connection component's selection direct to True

Session.Options.Direct: = True;

Other parameters are set with normal mode. The advantage of using direct access mode is that there is no need to install an Oracle client, deployment is more convenient and resource consumption is reduced, but there are also limitations, including:

1. Only use the TCP/IP protocol.

2. Individual data types are not supported, including object, ARRAY, REF, XML, binary_double, binary_float, etc.

3. The Rowsaffected property result cannot be returned when using returning in SQL.

4. Toraloader Direct import data is not supported.

5. The NLS conversion of the client is not supported.

6. The Transparent application redundancy mode (Transparent application failover, TAF) is not supported.

7. SQL statement buffering mode (statement caching) is not supported.

8. The operating System identity authentication function (OS authentication feature) is not supported.

9. The Change message notification component (TORACHANGENOTIFICATION) is not supported.

10. It is recommended that each thread use separate Torasession components under multi-threading, which does not guarantee the stability of a torasession under multithreading.

ODAC (V9.5.15) study notes (16) Direct access mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.