DatabaseCharset

This property specifies the CHAR database character set on the connection and is used to optimize connection establishment.

Declaration

// C#
public OracleDatabaseCharset DatabaseCharset {get; set;}

Remarks

The default value is OracleDatabaseCharset.AL32UTF8.

When the application provides the actual CHAR database character set to connect with, the connection can be established in an optimized way with fewer roundtrips. If the property contains a non-matching character set value, connection establishment follows a traditional, less optimized process.

When retrieving the database character set value, the connection must be open. If it is not open, an exception occurs.