Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

characater set tips for J2EE and database integrations

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Author and others,

What steps(tips) are required so that there are no charset probelms between java tier and database tier.Thanks
 
ak pillai
author
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing I can remember is, with regards to oracle if you need multi-language support (i.e internationalization), one should use nvarchar instead of varchar.

The compatibilty depends on your JDBC driver. May be some else can enlighten us more.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You made a good point about using nvarchar (this is also supported in MS SQL server).
I am not sure why I got this error
http://www.coderanch.com/t/303666/JDBC/java/Charset-Cp-not-supported-JVM
 
Ketan Khairnar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Pradip and ak pillai
please go through this links, as I have worked with small internationalization assignement; I have gone through most of these problems.
Onkly thing is that it was in core java/servlets/xml/xslt

See if this helps
Oracle9i Database Globalization Support Guide


Java i18N


SQL Server

JS I18N


SQL Server Architecture


OTN ODBC UNICODE FAQ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic