This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Oracle NLS support thru JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Oracle NLS support thru JDBC" Watch "Oracle NLS support thru JDBC" New topic

Oracle NLS support thru JDBC

Chinmay Bajikar
Ranch Hand

Joined: Dec 08, 2001
Posts: 159
I would like to know something about Oracle National Language Support.
Does this mean that for this code snippet,
Float f = new Float("123.23");
wont work on Oracle Server In France,
And it would require,
float f = Float.parseFloat("123.34");
Locale l = Locale.FRENCH;
DecimalFormat f1 = (DecimalFormat)NumberFormat.getInstance(l);
String s = f1.format(f).toString();
I am really clueless about this whole thing....
Gimmie some directions as to where should i look.

The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
I agree. Here's the link:
subject: Oracle NLS support thru JDBC
It's not a secret anymore!