connect to Oracle db with JDBC driver. How set charSet?

I need connect to Oracle database use jdbc driver. I look on structure URL string to connect and not see, where i xan set charSet to connect. Help me please.

Answers


You shouldn't need to set the character set. Java uses Unicode internally and the data from the database should be converted from the database character set to UTF-16 by the JDBC driver.


Need Your Help

Why does a single record lookup return an array? (Rails beginner)

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1

I have a where operation on a model that returns a single object. But I can't seem to use it in object notation (it appears to return an array with the object at [0]).

A tricky OOP problem I never got my head around

c++ oop visual-c++

Say I have two .cpp files: oranges.cpp and basket.cpp. They have the classes orange and basket, respectively. My main program generates many baskets which in turn generate many oranges. So basically,

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.