usage of EZConnect-String in OCI mode is not possible since Odac 9, when using new connect string schema (e.g. when assigning ConnectString of Session A to session B). The ParseConnectString routine will detect the rest of the connect string as inline comment and further options (UseUnicode, Direct, ...) will not get set.
Example:
Code: Select all
ConnectString := 'Data Source=//SERVER.DOM:1521/SN;User ID=SCOTT;Password=SCOTT;Schema=SCOTT;Use Unicode=True'
Andre