Re: JDBC und Unicode in DB2OS 390 Version 7
[ ruban.de ] [ Antworten ] [ Forum ]
Geschrieben von Gernot Ruban am Mai 08, 2003 um 16:44:
Als Antwort auf JDBC und Unicode in DB2OS 390 Version 7 geschrieben von Norbert Wolf on Mai 07, 2003 um 12:46:
Hallo Walter, schau mal in die DB2CLI.INI der Java Clients. Hier sollte ein neuer Eintrag vorgenommen werden: UnicodeServer = 1 (Indicates that the data source is a unicode server. Equivalent to setting ConnectCodepage=1208) Dies setzt voraus, dass die Applikation Unicode unterstützt, also die "W" statt "A" API Funktionen nutzt: The following is a list of the ODBC API functions that support both Unicode (W) and ANSI (A) versions (the function name will have a W for Unicode): SQLBrowseConnect SQLForeignKeys SQLPrimaryKeys SQLColAttribute SQLGetConnectAttr SQLProcedureColumns SQLColAttributes SQLGetConnectOption SQLProcedures SQLColumnPrivileges SQLGetCursorName SQLSetConnectAttr SQLColumns SQLGetDescField SQLSetConnectOption SQLConnect SQLGetDescRec SQLSetCursorName SQLDataSources SQLGetDiagField SQLSetDescField SQLDescribeCol SQLGetDiagRec SQLSetStmtAttr SQLDriverConnect SQLGetInfo SQLSpecialColumns SQLDrivers SQLGetStmtAttr SQLStatistics SQLError SQLNativeSQL SQLTablePrivileges SQLExecDirect SQLPrepare SQLTables
Mehr Infos dazu unter http://www-3.ibm.com/software/data/db2/udb/ad/db2irfp4/db2ir280.htm
Schreibe eine Antwort
|