Gateways, Oracle Lite, Oracle DB Mob. Server, TimesTen (MOSC)

MOSC Banner

DSN Name in SQLConnectW is not SQLWCHAR

I am running OracleDatabase 19c on Linux x86_64.

I want to establish a database link via DG4ODBC to a Postgres Database.

I have setup odbc.ini, initDEVUDBP.ini and the listener stuff.

When I run a select-statement against the db link, i can see the following lines in the trace file of unixODBC:

[ODBC][9421][1741615862.909543][SQLConnectW.c][215]
Entry:
Connection = 0xac3950
Server Name = [DVDP^A^A][length = 7]
User Name = [pspr8gebs][length = 18]

It seems as if DG4ODBC just takes the DSN Name as an ASCII String and sends it to SQLConnectW which expects WideCharacter parameters.

What am i missing here ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center