• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

characater set tips for J2EE and database integrations

 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 288
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
https://coderanch.com/t/303666/JDBC/java/Charset-Cp-not-supported-JVM
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Not so fast naughty spawn! I want you to know about
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic