ODAC (V9.5.15) study notes (iii) torasession (3)

Source: Internet
Author: User

3. Options

TorasessionOfOptions have the following content

Name

Type

Description

Charlength

Tcharlength

The length of a single character, default 0, which indicates that a single character length is obtained from the server for the corresponding character set

Charset

String

Specifies the ODAC character set, which can only be used under ORACLE8 clients

Clientidentifier

String

Client ID, only available in Oracle9 and later

ConnectionTimeout

Integer

Connection time-out (MS), default 0 means waiting until success or error

DateFormat

String

Date format, default is empty, take system settings

Datelanguage

String

Specifies the language of the date expression, the default is empty, the system settings are taken

Direct

Boolean

Whether to use direct access mode

Enableintegers

Boolean

Automatically convert numeric (number) fields with precision less than 10 to shaping (Integer) fields

Enablenumbers

Boolean

Whether to automatically convert an integer field with a precision greater than 15 to a numeric (number) field

Enableoratimestamp

Boolean

Whether to automatically establish the Toratimestampfield type field for the Oracle timestamp field, default false, to establish a standard Tsqltimestampfield type field

Ipversion

Tipversion

IP version

keepdesignconnected

Boolean

The default True indicates that if the connection control is set to Connected=true during the design period, it is automatically connected when the program starts. The recommendation is set to false, because the normal run time is the need to adjust the database connection parameters, and the design period of the parameters are not necessarily correct, causing the program to automatically connect error when started.

Optimizermode

Toptimizermode

Optimization mode that determines the optimization mode for Oracle between returning all records and returning the first (or multiple) records.

Disconnectedmode

Boolean

If the data offline mode is used, if the data offline mode is used, the connection action will occur only when the database is connected to SQL operation, and automatically shuts down after the operation is completed.

Useunicode

Boolean

Whether to use a double-byte storage database sent over the characters and strings, by default, FALSE, the client program automatically completes the double-byte processing

Statementcache

Boolean

Whether to buffer SQL statements that need to be processed, buffering SQL is good for performance, especially in cases where high-volume SQL statements need to be executed. The buffer size depends on the statementcachesize.

Statementcachesize

Integer

Allowimplicitconnect

Boolean

Whether to allow a hidden connection, by default True, if the connection control is closed and one of its associated datasets requires access to the database, the connection control will automatically connect to the database.

Defaultsorttype

Tsorttype

When an associated dataset is indexed using the Indexfieldnames property, the default index is the way in which:

Stbinary, which indicates the sort by the ASC code value of the character

Stcaseinsensitive Case insensitive

Stcasesensitive Case Sensitive

Default Stbinary

Localfailover

Boolean

If true, the Onconnectionlost event is triggered when the connection is interrupted and is automatically reconnected.

Odac (V9.5.15) Learning Note (iii) torasession (3)

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.