|
|
Archives of the TeradataForum
Message Posted: Mon, 16 Oct 2006 @ 22:52:27 GMT
Subj: | | Re: JDBC connection with Teradata |
|
From: | | Takahashi, Takashi |
I would strongly recommend to set the session character set in your connection string and make sure your Java (Unicode) application handles
Unicode.
static Connection con;
String url = "jdbc:teradata://system/CHARSET=UTF8";
con = DriverManager.getConnection (url, "test", "test");
The default session character set (i.e. "ASCII") can be used only for 7-bit ASCII characters.
| |