DatabaseNCharset

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

Declaration

// C#
public OracleDatabaseNCharset DatabaseNCharset {get; set;}

Remarks

The default value is OracleDatabaseNCharset.AL16UTF16.

When the application provides the actual NCHAR 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.