skip to main content
Connection property descriptions : CodePageOverride
  

Try DataDirect Drivers Now

CodePageOverride

Purpose

The code page to be used by the driver to convert Character data. The specified code page overrides the default database code page or column collation. All Character data returned from or written to the database is converted using the specified code page.

Valid values

string
where:
string
is the name of a valid code page that is supported by your JVM.

Behavior

By default, the driver automatically determines which code page to use to convert Character data. Use this property only if you need to change the driver’s default behavior.
If a value is set for this property and the StringInputParameterType property, the driver ignores the StringInputParameterType property and generates a warning. The driver always sends parameters using the code page that is specified by CodePageOverride, if specified.

Example

CP950

Data source method

setCodePageOverride

Default

None

Data type

String